Announcement Announcement Module
Collapse
No announcement yet.
Working with Pro Spring MVC and Spring WebFlow book Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Working with Pro Spring MVC and Spring WebFlow book

    I am working with the new book Pro Spring MVC and Spring WebFlow book and been trying to get chapter10-bookstore working but I been getting the following error: Has anyone worked with this book.. thanks

    Jul 23, 2012 11:01:52 AM com.springsource.tcserver.security.PropertyDecoder <init>
    INFO: tc Runtime property decoder using memory-based key
    Jul 23, 2012 11:01:52 AM com.springsource.tcserver.security.PropertyDecoder <init>
    INFO: tcServer Runtime property decoder has been initialized in 168 ms
    Jul 23, 2012 11:01:53 AM org.apache.coyote.AbstractProtocol init
    INFO: Initializing ProtocolHandler ["http-bio-8080"]
    Jul 23, 2012 11:01:53 AM com.springsource.tcserver.serviceability.rmi.JmxSo cketListener init
    INFO: Started up JMX registry on 127.0.0.1:6969 in 195 ms
    Jul 23, 2012 11:01:53 AM org.apache.catalina.startup.Catalina load
    INFO: Initialization processed in 1190 ms
    Jul 23, 2012 11:01:53 AM org.apache.catalina.core.StandardService startInternal
    INFO: Starting service Catalina
    Jul 23, 2012 11:01:53 AM org.apache.catalina.core.StandardEngine startInternal
    INFO: Starting Servlet Engine: VMware vFabric tc Runtime 2.7.0.RELEASE/7.0.27.A.RELEASE
    Jul 23, 2012 11:01:53 AM org.apache.catalina.startup.HostConfig deployDescriptor
    INFO: Deploying configuration descriptor /home/jsmith/springsource/vfabric-tc-server-developer-2.7.0.RELEASE/spring-insight-instance/conf/Catalina/localhost/insight.xml
    Jul 23, 2012 11:01:54 AM com.springsource.insight.collection.tcserver.ltw.T omcatWeavingInsightClassLoader start
    INFO: Context [localhost|insight] will not be woven
    Jul 23, 2012 11:01:54 AM com.springsource.insight.InsightAgentPluginsHelper defaultInsightLogs
    INFO: Using default insight.logs=/home/jsmith/springsource/vfabric-tc-server-developer-2.7.0.RELEASE/spring-insight-instance/insight/logs
    Jul 23, 2012 11:01:55 AM org.apache.catalina.core.ApplicationContext log
    INFO: Initializing Spring root WebApplicationContext
    Jul 23, 2012 11:02:07 AM org.apache.catalina.core.ApplicationContext log
    INFO: Initializing Spring FrameworkServlet 'Spring MVC Dispatcher Servlet'
    Jul 23, 2012 11:02:11 AM org.apache.catalina.startup.HostConfig deployDescriptor
    INFO: Deploying configuration descriptor /home/jsmith/springsource/vfabric-tc-server-developer-2.7.0.RELEASE/spring-insight-instance/conf/Catalina/localhost/chapter10-bookstore.xml
    Jul 23, 2012 11:02:11 AM org.apache.catalina.startup.SetContextPropertiesRu le begin
    WARNING: [SetContextPropertiesRule]{Context} Setting property 'source' to 'org.eclipse.jst.j2ee.server:chapter10-bookstore' did not find a matching property.
    Jul 23, 2012 11:02:11 AM com.springsource.insight.collection.tcserver.ltw.T omcatWeavingInsightClassLoader start
    INFO: Context [localhost|chapter10-bookstore] will not be woven
    Jul 23, 2012 11:02:14 AM org.apache.catalina.core.ContainerBase addChildInternal
    SEVERE: ContainerBase.addChild: start:
    org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/chapter10-bookstore]]
    at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:154)
    at org.apache.catalina.core.ContainerBase.addChildInt ernal(ContainerBase.java:895)
    at org.apache.catalina.core.ContainerBase.addChild(Co ntainerBase.java:871)
    at org.apache.catalina.core.StandardHost.addChild(Sta ndardHost.java:615)
    at org.apache.catalina.startup.HostConfig.deployDescr iptor(HostConfig.java:649)
    at org.apache.catalina.startup.HostConfig$DeployDescr iptor.run(HostConfig.java:1585)
    at java.util.concurrent.Executors$RunnableAdapter.cal l(Executors.java:471)
    at java.util.concurrent.FutureTask$Sync.innerRun(Futu reTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.jav a:166)
    at java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1110)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:679)
    Caused by: java.lang.NoClassDefFoundError: com/apress/prospringmvc/bookstore/service/AuthenticationException
    at java.lang.Class.getDeclaredFields0(Native Method)
    at java.lang.Class.privateGetDeclaredFields(Class.jav a:2308)
    at java.lang.Class.getDeclaredFields(Class.java:1760)
    at org.apache.catalina.startup.WebAnnotationSet.getDe claredFields(WebAnnotationSet.java:452)
    at org.apache.catalina.startup.WebAnnotationSet.loadF ieldsAnnotation(WebAnnotationSet.java:257)
    at org.apache.catalina.startup.WebAnnotationSet.loadA pplicationListenerAnnotations(WebAnnotationSet.jav a:88)
    at org.apache.catalina.startup.WebAnnotationSet.loadA pplicationAnnotations(WebAnnotationSet.java:64)
    at org.apache.catalina.startup.ContextConfig.applicat ionAnnotationsConfig(ContextConfig.java:381)
    at org.apache.catalina.startup.ContextConfig.configur eStart(ContextConfig.java:858)
    at org.apache.catalina.startup.ContextConfig.lifecycl eEvent(ContextConfig.java:345)
    at org.apache.catalina.util.LifecycleSupport.fireLife cycleEvent(LifecycleSupport.java:119)
    at org.apache.catalina.util.LifecycleBase.fireLifecyc leEvent(LifecycleBase.java:90)
    at org.apache.catalina.core.StandardContext.startInte rnal(StandardContext.java:5161)
    at org.apache.catalina.util.LifecycleBase.start(Lifec ycleBase.java:150)
    ... 11 more
    Caused by: java.lang.ClassNotFoundException: com.apress.prospringmvc.bookstore.service.Authenti cationException
    at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1711)
    at org.apache.catalina.loader.WebappClassLoader.loadC lass(WebappClassLoader.java:1556)
    ... 25 more
    Jul 23, 2012 11:02:14 AM org.apache.catalina.startup.HostConfig deployDescriptor
    SEVERE: Error deploying configuration descriptor /home/jsmith/springsource/vfabric-tc-server-developer-2.7.0.RELEASE/spring-insight-instance/conf/Catalina/localhost/chapter10-bookstore.xml
    java.lang.IllegalStateException: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/chapter10-bookstore]]
    at org.apache.catalina.core.ContainerBase.addChildInt ernal(ContainerBase.java:898)
    at org.apache.catalina.core.ContainerBase.addChild(Co ntainerBase.java:871)
    at org.apache.catalina.core.StandardHost.addChild(Sta ndardHost.java:615)
    at org.apache.catalina.startup.HostConfig.deployDescr iptor(HostConfig.java:649)
    at org.apache.catalina.startup.HostConfig$DeployDescr iptor.run(HostConfig.java:1585)
    at java.util.concurrent.Executors$RunnableAdapter.cal l(Executors.java:471)
    at java.util.concurrent.FutureTask$Sync.innerRun(Futu reTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.jav a:166)
    at java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1110)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:603)
    at java.lang.Thread.run(Thread.java:679)
    Jul 23, 2012 11:02:14 AM org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Deploying web application directory /home/jsmith/springsource/vfabric-tc-server-developer-2.7.0.RELEASE/spring-insight-instance/webapps/manager
    Jul 23, 2012 11:02:14 AM com.springsource.insight.collection.tcserver.ltw.T omcatWeavingInsightClassLoader start
    INFO: Context [localhost|manager] will not be woven
    Jul 23, 2012 11:02:14 AM org.apache.catalina.startup.HostConfig deployDirectory
    INFO: Deploying web application directory /home/jsmith/springsource/vfabric-tc-server-developer-2.7.0.RELEASE/spring-insight-instance/webapps/ROOT
    Jul 23, 2012 11:02:14 AM com.springsource.insight.collection.tcserver.ltw.T omcatWeavingInsightClassLoader start
    INFO: Context [localhost|ROOT] will not be woven
    Jul 23, 2012 11:02:14 AM org.apache.coyote.AbstractProtocol start
    INFO: Starting ProtocolHandler ["http-bio-8080"]
    Jul 23, 2012 11:02:14 AM org.apache.catalina.startup.Catalina start
    INFO: Server startup in 21118 ms

  • #2
    As mentioned before please use [ code][/code ] tags when posting code/xml/stacktraces ... Also starting/using 3 threads for the same question isn't really appreciated .

    See my reply in the other thread.

    Comment


    • #3
      sorry..I am just under a bad timeline..

      Comment

      Working...
      X