[ 
https://issues.apache.org/jira/browse/MYFACES-2674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12860694#action_12860694
 ] 

Matthias Weßendorf commented on MYFACES-2674:
---------------------------------------------

IMO this could be a warning, especially in DEVELOPMENT mode.

> ClassNotFoundException when using 
> "org.apache.myfaces.annotation.SCAN_PACKAGES" parameter with not existing 
> package
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-2674
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2674
>             Project: MyFaces Core
>          Issue Type: Bug
>            Reporter: Matthias Weßendorf
>
> in web.xml have the following ctx param:
> <context-param>
>     <param-name>org.apache.myfaces.annotation.SCAN_PACKAGES</param-name>
>     <param-value>net.wessendorf</param-value>
> </context-param>
> but if this package does not exist, you'll notice this:
> Caused by: java.lang.ClassNotFoundException: No resource for net/wessendorf
>       at 
> org.apache.myfaces.config.annotation._PackageInfo.getClasses(_PackageInfo.java:102)
>       at 
> org.apache.myfaces.config.annotation.AnnotationConfigurator.packageClasses(AnnotationConfigurator.java:332)
>       at 
> org.apache.myfaces.config.annotation.AnnotationConfigurator.configure(AnnotationConfigurator.java:186)
>       ... 17 more

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to