Duplicated mapping id

Splash Forums PrettyFaces Users Duplicated mapping id

Tagged: 

This topic contains 22 replies, has 3 voices, and was last updated by  mika 10 years, 3 months ago.

Viewing 15 posts - 1 through 15 (of 23 total)
  • Author
    Posts
  • #18047

    mika
    Participant

    i am using PrettyFaces 3.3.0 with Spring Security 3

    i have two beans UserBean which is mapped to serve to pages (users,add)

    and LoginBean to serve the login page

    my mappings is as follows:

    1- UserBean:

    `@Component(“user”)

    @Scope(“request”)

    @URLMappings(mappings = {

    @URLMapping(id = “users”, pattern = “/users”, viewId = “/faces/users.xhtml”),

    @URLMapping(id = “add”, pattern = “/add”, viewId = “/faces/add.xhtml”) })

    public class UserBean {`

    2- LoginBean:

    `@Component(“login”)

    @Scope(“request”)

    @URLMapping(id = “login”, pattern = “/login”, viewId = “/faces/login.xhtml”)

    public class LoginBean {`

    but when i try to run the application

    i am getting the following exception (i added some debugs before and after the exception):

    `DEBUG [main] (FacesConfigBeanNameResolver.java:110) – Found 0 bean names in faces configuration.

    DEBUG [main] (CDIBeanNameResolver.java:127) – BeanManager or Bean class not found. CDI resolver has been disabled.

    DEBUG [main] (SpringBeanNameResolver.java:95) – Spring detected. Enabling Spring bean name resolving.

    DEBUG [main] (SeamBeanNameResolver.java:90) – Seam class has not been found. Seam resolver will be disabled.

    DEBUG [main] (AbstractClassFinder.java:200) – Bytecode filter recommends to scan class: myapp.beans.LoginBean

    DEBUG [main] (AbstractClassFinder.java:200) – Bytecode filter recommends to scan class: myapp.beans.UserBean

    com.ocpsoft.pretty.PrettyException: Failed to load configuration.

    at com.ocpsoft.pretty.faces.config.PrettyConfigurator.configure(PrettyConfigurator.java:90)

    at com.ocpsoft.pretty.PrettyFilter.init(PrettyFilter.java:305)

    at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:295)

    at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:422)

    at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:115)

    at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4072)

    at org.apache.catalina.core.StandardContext.start(StandardContext.java:4726)

    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)

    at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)

    at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)

    at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)

    at org.apache.catalina.core.StandardService.start(StandardService.java:525)

    at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)

    at org.apache.catalina.startup.Catalina.start(Catalina.java:595)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)

    at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)

    Caused by: java.lang.IllegalArgumentException: Duplicated mapping id: login

    at com.ocpsoft.pretty.faces.config.annotation.PrettyAnnotationHandler.processPrettyMappingAnnotation(PrettyAnnotationHandler.java:209)

    at com.ocpsoft.pretty.faces.config.annotation.PrettyAnnotationHandler.processClassMappingAnnotations(PrettyAnnotationHandler.java:154)

    at com.ocpsoft.pretty.faces.config.annotation.PrettyAnnotationHandler.processClass(PrettyAnnotationHandler.java:109)

    at com.ocpsoft.pretty.faces.config.annotation.AbstractClassFinder.processClass(AbstractClassFinder.java:219)

    at com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder.processDirectory(WebClassesFinder.java:154)

    at com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder.processDirectory(WebClassesFinder.java:183)

    at com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder.processDirectory(WebClassesFinder.java:183)

    at com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder.processDirectory(WebClassesFinder.java:183)

    at com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder.processDirectory(WebClassesFinder.java:183)

    at com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder.processDirectory(WebClassesFinder.java:183)

    at com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder.processDirectory(WebClassesFinder.java:183)

    at com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder.processDirectory(WebClassesFinder.java:183)

    at com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder.processDirectory(WebClassesFinder.java:183)

    at com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder.findClasses(WebClassesFinder.java:68)

    at com.ocpsoft.pretty.faces.config.spi.AnnotationConfigurationProvider.loadConfiguration(AnnotationConfigurationProvider.java:82)

    at com.ocpsoft.pretty.faces.config.PrettyConfigurator.configure(PrettyConfigurator.java:63)

    … 19 more

    DEBUG [main] (AbstractClassFinder.java:200) – Bytecode filter recommends to scan class: myapp.LoginBean`

    this line is repeated twice for LoginBean, is it the problem ?

    Bytecode filter recommends to scan class LoginBean

    please advise.

    #21505

    Hey mika,

    that’s a very weird issue you are having! For some reason WebClassesFinder finds the LoginBean twice which is then causing this error. You are running Apache Tomcat? Do you start Tomcat from your IDE or from the console? Could you perhaps increase the logging level to TRACE? This may help us get an idea what exactly is happening here.

    Christian

    #21506

    Do you have more than one PrettyFaces JAR file on your classpath?

    #21507

    mika
    Participant

    hi Christian, yes i am running tomcat 6 from eclipse.

    how to increase the logging level to trace please, i am using log4j.

    and i want to know why the debugging for PrettyFaces is enabled by default and how to turn it off, thanks.

    #21508

    Could you post your log4j.properties or log4j.xml please?

    #21509

    mika
    Participant

    log4j.rootLogger=DEBUG, stdout, R

    log4j.appender.stdout=org.apache.log4j.ConsoleAppender

    log4j.appender.stdout.layout=org.apache.log4j.PatternLayout

    # Pattern to output the caller’s file name and line number.

    log4j.appender.stdout.layout.ConversionPattern=%5p [%t] (%F:%L) – %m%n

    log4j.appender.R=org.apache.log4j.RollingFileAppender

    log4j.appender.R.File=${user.home}/appLogs/myapp.log

    log4j.appender.R.MaxFileSize=10000KB

    log4j.appender.R.MaxBackupIndex=3

    log4j.appender.R.layout=org.apache.log4j.PatternLayout

    log4j.appender.R.layout.ConversionPattern=%p %t %c – %m%n

    # Control/Limit integrated frameworks logging messages

    log4j.logger.org.springframework=ERROR

    log4j.logger.org.hibernate=ERROR

    log4j.logger.org.springframework.security=ERROR

    log4j.logger.org.hibernate.tool.hbm2ddl=ERROR

    #21510

    mika
    Participant

    well, i added the following and it works:

    log4j.logger.com.ocpsoft.pretty.faces=TRACE

    #21511

    mika
    Participant

    here’s the trace for this case:

    DEBUG [main] (FacesConfigBeanNameResolver.java:110) – Found 0 bean names in faces configuration.

    TRACE [main] (LazyBeanNameFinder.java:83) – Initializing BeanNameResolver: com.ocpsoft.pretty.faces.el.resolver.CDIBeanNameResolver

    DEBUG [main] (CDIBeanNameResolver.java:127) – BeanManager or Bean class not found. CDI resolver has been disabled.

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/META-INF/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/META-INF/spring/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/resources/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/resources/messages/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/resources/META-INF/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/java/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/java/com/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/META-INF/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/WEB-INF/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/WEB-INF/lib/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/resources/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/resources/images/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/resources/scripts/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/resources/css/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/test/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/test/java/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/test/java/Testing/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/validation/

    TRACE [main] (ByteCodeAnnotationFilter.java:258) – No reference to PrettyFaces annotations found!

    TRACE [main] (ByteCodeAnnotationFilter.java:258) – No reference to PrettyFaces annotations found!

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/service/

    TRACE [main] (ByteCodeAnnotationFilter.java:258) – No reference to PrettyFaces annotations found!

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/service/impl/

    TRACE [main] (ByteCodeAnnotationFilter.java:258) – No reference to PrettyFaces annotations found!

    TRACE [main] (ByteCodeAnnotationFilter.java:258) – No reference to PrettyFaces annotations found!

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/dao/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/dao/impl/

    TRACE [main] (ByteCodeAnnotationFilter.java:258) – No reference to PrettyFaces annotations found!

    TRACE [main] (ByteCodeAnnotationFilter.java:258) – No reference to PrettyFaces annotations found!

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/domain/

    TRACE [main] (ByteCodeAnnotationFilter.java:258) – No reference to PrettyFaces annotations found!

    TRACE [main] (ByteCodeAnnotationFilter.java:258) – No reference to PrettyFaces annotations found!

    TRACE [main] (ByteCodeAnnotationFilter.java:258) – No reference to PrettyFaces annotations found!

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/utils/

    TRACE [main] (ByteCodeAnnotationFilter.java:258) – No reference to PrettyFaces annotations found!

    TRACE [main] (ByteCodeAnnotationFilter.java:258) – No reference to PrettyFaces annotations found!

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/beans/

    TRACE [main] (ByteCodeAnnotationFilter.java:234) – Found PrettyFaces annotation reference in constant pool: Lcom/ocpsoft/pretty/faces/annotation/URLMapping;

    DEBUG [main] (AbstractClassFinder.java:200) – Bytecode filter recommends to scan class: com.myapp.sample.beans.LoginBean

    TRACE [main] (PrettyAnnotationHandler.java:101) – Analyzing class: com.myapp.sample.beans.LoginBean

    TRACE [main] (PrettyAnnotationHandler.java:191) – Found @URLMapping annotation on class: com.myapp.sample.beans.LoginBean

    TRACE [main] (ByteCodeAnnotationFilter.java:234) – Found PrettyFaces annotation reference in constant pool: Lcom/ocpsoft/pretty/faces/annotation/URLMapping;

    DEBUG [main] (AbstractClassFinder.java:200) – Bytecode filter recommends to scan class: com.myapp.sample.beans.UserBean

    TRACE [main] (PrettyAnnotationHandler.java:101) – Analyzing class: com.myapp.sample.beans.UserBean

    TRACE [main] (PrettyAnnotationHandler.java:191) – Found @URLMapping annotation on class: com.myapp.sample.beans.UserBean

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/test-classes/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/test-classes/Testing/

    TRACE [main] (ByteCodeAnnotationFilter.java:258) – No reference to PrettyFaces annotations found!

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/myapp-1.0.0/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/myapp-1.0.0/WEB-INF/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/myapp-1.0.0/WEB-INF/classes/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/META-INF/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/META-INF/spring/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/resources/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/resources/messages/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/resources/META-INF/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/java/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/java/com/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/META-INF/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/WEB-INF/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/WEB-INF/lib/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/resources/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/resources/images/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/resources/scripts/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/resources/css/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/test/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/test/java/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/test/java/Testing/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/validation/

    TRACE [main] (ByteCodeAnnotationFilter.java:258) – No reference to PrettyFaces annotations found!

    TRACE [main] (ByteCodeAnnotationFilter.java:258) – No reference to PrettyFaces annotations found!

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/service/

    TRACE [main] (ByteCodeAnnotationFilter.java:258) – No reference to PrettyFaces annotations found!

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/service/impl/

    TRACE [main] (ByteCodeAnnotationFilter.java:258) – No reference to PrettyFaces annotations found!

    TRACE [main] (ByteCodeAnnotationFilter.java:258) – No reference to PrettyFaces annotations found!

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/dao/

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/dao/impl/

    TRACE [main] (ByteCodeAnnotationFilter.java:258) – No reference to PrettyFaces annotations found!

    TRACE [main] (ByteCodeAnnotationFilter.java:258) – No reference to PrettyFaces annotations found!

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/domain/

    TRACE [main] (ByteCodeAnnotationFilter.java:258) – No reference to PrettyFaces annotations found!

    TRACE [main] (ByteCodeAnnotationFilter.java:258) – No reference to PrettyFaces annotations found!

    TRACE [main] (ByteCodeAnnotationFilter.java:258) – No reference to PrettyFaces annotations found!

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/utils/

    TRACE [main] (ByteCodeAnnotationFilter.java:258) – No reference to PrettyFaces annotations found!

    TRACE [main] (ByteCodeAnnotationFilter.java:258) – No reference to PrettyFaces annotations found!

    TRACE [main] (WebClassesFinder.java:100) – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/beans/

    TRACE [main] (ByteCodeAnnotationFilter.java:234) – Found PrettyFaces annotation reference in constant pool: Lcom/ocpsoft/pretty/faces/annotation/URLMapping;

    DEBUG [main] (AbstractClassFinder.java:200) – Bytecode filter recommends to scan class: com.myapp.sample.beans.LoginBean

    TRACE [main] (PrettyAnnotationHandler.java:101) – Analyzing class: com.myapp.sample.beans.LoginBean

    TRACE [main] (PrettyAnnotationHandler.java:191) – Found @URLMapping annotation on class: com.myapp.sample.beans.LoginBean

    #21512

    mika
    Participant

    any ideas why it finds the login bean twice, is it have something to do with spring security ? or with the fact that this bean is a spring bean and the scope is request ?

    #21513

    mika
    Participant

    ANY HELP HERE ?

    #21514

    Could you set the logging level for com.ocpsoft.pretty.faces.config.annotation to TRACE and send the complete log up to this exception? You could also use Pastebin or something like this if you don’t want to post it here!

    #21515

    And please send the complete log, so I can see if some directory is scanned for annotation twice…

    #21516

    mika
    Participant

    here it is:

    DEBUG main com.ocpsoft.pretty.faces.config.annotation.PackageFilter – No package filter specified!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/META-INF/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/META-INF/spring/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/resources/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/resources/messages/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/resources/META-INF/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/java/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/java/com/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/META-INF/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/WEB-INF/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/WEB-INF/lib/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/resources/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/resources/images/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/resources/styles/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/resources/scripts/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/test/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/test/java/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/test/java/Testing/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/validation/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/service/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/service/impl/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/dao/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/dao/impl/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/domain/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/utils/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/beans/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – Found PrettyFaces annotation reference in constant pool: Lcom/ocpsoft/pretty/faces/annotation/URLMapping;

    DEBUG main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Bytecode filter recommends to scan class: com.myapp.sample.beans.LoginBean

    TRACE main com.ocpsoft.pretty.faces.config.annotation.PrettyAnnotationHandler – Analyzing class: com.myapp.sample.beans.LoginBean

    TRACE main com.ocpsoft.pretty.faces.config.annotation.PrettyAnnotationHandler – Found @URLMapping annotation on class: com.myapp.sample.beans.LoginBean

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – Found PrettyFaces annotation reference in constant pool: Lcom/ocpsoft/pretty/faces/annotation/URLMappings;

    DEBUG main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Bytecode filter recommends to scan class: com.myapp.sample.beans.UserBean

    TRACE main com.ocpsoft.pretty.faces.config.annotation.PrettyAnnotationHandler – Analyzing class: com.myapp.sample.beans.UserBean

    TRACE main com.ocpsoft.pretty.faces.config.annotation.PrettyAnnotationHandler – Found @URLMapping annotation on class: com.myapp.sample.beans.UserBean

    TRACE main com.ocpsoft.pretty.faces.config.annotation.PrettyAnnotationHandler – Found @URLMapping annotation on class: com.myapp.sample.beans.UserBean

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/test-classes/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/test-classes/Testing/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/dependency-maven-plugin-markers/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/classes/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/classes/messages/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/classes/META-INF/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/classes/META-INF/spring/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/classes/com/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/classes/com/myapp/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/classes/com/myapp/sample/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/classes/com/myapp/sample/service/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/classes/com/myapp/sample/service/impl/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/classes/com/myapp/sample/utils/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/classes/com/myapp/sample/validation/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/classes/com/myapp/sample/beans/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – Found PrettyFaces annotation reference in constant pool: Lcom/ocpsoft/pretty/faces/annotation/URLMappings;

    DEBUG main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Bytecode filter recommends to scan class: target.classes.com.myapp.sample.beans.UserBean

    DEBUG main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Could not load class ‘target.classes.com.myapp.sample.beans.UserBean’: java.lang.NoClassDefFoundError: target/classes/com/myapp/sample/beans/UserBean (wrong name: com/myapp/sample/beans/UserBean)

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – Found PrettyFaces annotation reference in constant pool: Lcom/ocpsoft/pretty/faces/annotation/URLMapping;

    DEBUG main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Bytecode filter recommends to scan class: target.classes.com.myapp.sample.beans.LoginBean

    DEBUG main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Could not load class ‘target.classes.com.myapp.sample.beans.LoginBean’: java.lang.NoClassDefFoundError: target/classes/com/myapp/sample/beans/LoginBean (wrong name: com/myapp/sample/beans/LoginBean)

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/classes/com/myapp/sample/domain/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/classes/com/myapp/sample/dao/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/classes/com/myapp/sample/dao/impl/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/war/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/war/work/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/surefire-reports/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/maven-archiver/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/myapp/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/myapp/META-INF/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/myapp/resources/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/myapp/resources/images/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/myapp/resources/styles/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/myapp/resources/css/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/myapp/WEB-INF/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/target/myapp/WEB-INF/classes/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/META-INF/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/META-INF/spring/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/resources/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/resources/messages/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/resources/META-INF/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/java/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/java/com/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/META-INF/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/WEB-INF/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/WEB-INF/lib/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/resources/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/resources/images/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/resources/styles/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/main/webapp/resources/scripts/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/test/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/test/java/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/src/test/java/Testing/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/validation/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/service/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/service/impl/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/dao/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/dao/impl/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/domain/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/utils/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – No reference to PrettyFaces annotations found!

    TRACE main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Processing directory: jndi:/localhost/myapp/WEB-INF/classes/com/myapp/sample/beans/

    TRACE main com.ocpsoft.pretty.faces.config.annotation.ByteCodeAnnotationFilter – Found PrettyFaces annotation reference in constant pool: Lcom/ocpsoft/pretty/faces/annotation/URLMapping;

    DEBUG main com.ocpsoft.pretty.faces.config.annotation.WebClassesFinder – Bytecode filter recommends to scan class: com.myapp.sample.beans.LoginBean

    TRACE main com.ocpsoft.pretty.faces.config.annotation.PrettyAnnotationHandler – Analyzing class: com.myapp.sample.beans.LoginBean

    TRACE main com.ocpsoft.pretty.faces.config.annotation.PrettyAnnotationHandler – Found @URLMapping annotation on class: com.myapp.sample.beans.LoginBean

    #21517

    mika
    Participant

    i want to rephrase my configuration again:

    1- i am using PrettyFaces 3.3.0 (through maven 2).

    2- i configured the PrettyFaces filter in the web.xml as follows:

    <filter>

    <filter-name>Pretty Filter</filter-name>

    <filter-class>com.ocpsoft.pretty.PrettyFilter</filter-class>

    </filter>

    <filter-mapping>

    <filter-name>Pretty Filter</filter-name>

    <url-pattern>/*</url-pattern>

    <dispatcher>FORWARD</dispatcher>

    <dispatcher>REQUEST</dispatcher>

    <dispatcher>ERROR</dispatcher>

    </filter-mapping>

    3- i am using spring to create my beans not jsf:

    a- UserBean:

    @Component(“user”)

    @Scope(“request”)

    @URLMappings(mappings = {

    @URLMapping(id = “users”, pattern = “/users”, viewId = “/faces/users.xhtml”),

    @URLMapping(id = “add”, pattern = “/add”, viewId = “/faces/add.xhtml”) })

    public class UserBean {}

    b- LoginBean:

    @Component(“login”)

    @Scope(“request”)

    @URLMapping(id = “login”, pattern = “/login”, viewId = “/faces/login.xhtml”)

    public class LoginBean {}

    4- i don’t have the pretty-faces.config.xml file or any other configuration than mentioned above, maybe i am missing something.

    hope that this may help.

    #21518

    Mika, sorry, your posts were being caught by the spam filter, this happens from time to time.

Viewing 15 posts - 1 through 15 (of 23 total)

The forum ‘PrettyFaces Users’ is closed to new topics and replies.

Comments are closed.