java.lang.NoSuchFieldError: MANUAL

Spring JIRA | Ken Egervari | 7 years ago
  1. 0

    Okay, I've been using the 3.0.2 snapshots because there was a big in the form tag library where it was deleting "[" and "]" from the path attribute. Now that I go to deploy my application to tomcat... it is having problems with the OpenSessionInView filter. I know the filter was previously setup correctly, so something got changed by upgrading from 3.0.1.RELEASE to 3.0.2 snapshot in the last 2 days. Here's the error: [code] INFO: Deploying web application archive jobprep.war Mar 19, 2010 9:12:49 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring root WebApplicationContext Mar 19, 2010 9:13:10 AM org.apache.catalina.core.StandardContext filterStart SEVERE: Exception starting filter openSessionInViewFilter java.lang.NoSuchFieldError: MANUAL at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.<init>(OpenSessionInViewFilter.java:102) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:255) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3800) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4450) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:850) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:724) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:493) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:722) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:583) 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:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Mar 19, 2010 9:13:10 AM org.apache.catalina.core.StandardContext start SEVERE: Error filterStart Mar 19, 2010 9:13:10 AM org.apache.catalina.core.StandardContext start SEVERE: Context [/jobprep] startup failed due to previous errors Mar 19, 2010 9:13:10 AM [/code] I can disable it now and maybe my app will mostly work. Help? If I don't use the 3.0.2 snapshot, what else can I use?

    Spring JIRA | 7 years ago | Ken Egervari
    java.lang.NoSuchFieldError: MANUAL
  2. 0

    Okay, I've been using the 3.0.2 snapshots because there was a big in the form tag library where it was deleting "[" and "]" from the path attribute. Now that I go to deploy my application to tomcat... it is having problems with the OpenSessionInView filter. I know the filter was previously setup correctly, so something got changed by upgrading from 3.0.1.RELEASE to 3.0.2 snapshot in the last 2 days. Here's the error: [code] INFO: Deploying web application archive jobprep.war Mar 19, 2010 9:12:49 AM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring root WebApplicationContext Mar 19, 2010 9:13:10 AM org.apache.catalina.core.StandardContext filterStart SEVERE: Exception starting filter openSessionInViewFilter java.lang.NoSuchFieldError: MANUAL at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.<init>(OpenSessionInViewFilter.java:102) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:513) at java.lang.Class.newInstance0(Class.java:355) at java.lang.Class.newInstance(Class.java:308) at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:255) at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397) at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3800) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4450) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:850) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:724) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:493) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:722) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:516) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:583) 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:288) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413) Mar 19, 2010 9:13:10 AM org.apache.catalina.core.StandardContext start SEVERE: Error filterStart Mar 19, 2010 9:13:10 AM org.apache.catalina.core.StandardContext start SEVERE: Context [/jobprep] startup failed due to previous errors Mar 19, 2010 9:13:10 AM [/code] I can disable it now and maybe my app will mostly work. Help? If I don't use the 3.0.2 snapshot, what else can I use?

    Spring JIRA | 7 years ago | Ken Egervari
    java.lang.NoSuchFieldError: MANUAL
  3. 0

    java.lang.NoSuchFieldError: DEF_CONTENT_CHARSET-- Need help

    GitHub | 1 month ago | arti306
    java.lang.NoSuchFieldError: DEF_CONTENT_CHARSET
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 767#256983687

    GitHub | 1 month ago | phil99
    java.lang.NoSuchFieldError: android.os.Environment.DIRECTORY_DOCUMENTS

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchFieldError

      MANUAL

      at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.<init>()
    2. Hibernate
      OpenSessionInViewFilter.<init>
      1. org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.<init>(OpenSessionInViewFilter.java:102)
      1 frame
    3. Java RT
      Class.newInstance
      1. sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      2. sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      3. sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      4. java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      5. java.lang.Class.newInstance0(Class.java:355)
      6. java.lang.Class.newInstance(Class.java:308)
      6 frames
    4. Glassfish Core
      Catalina.start
      1. org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:255)
      2. org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:397)
      3. org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
      4. org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3800)
      5. org.apache.catalina.core.StandardContext.start(StandardContext.java:4450)
      6. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
      7. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
      8. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:526)
      9. org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:850)
      10. org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:724)
      11. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:493)
      12. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1206)
      13. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:314)
      14. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
      15. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
      16. org.apache.catalina.core.StandardHost.start(StandardHost.java:722)
      17. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
      18. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
      19. org.apache.catalina.core.StandardService.start(StandardService.java:516)
      20. org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
      21. org.apache.catalina.startup.Catalina.start(Catalina.java:583)
      21 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    6. Glassfish Core
      Bootstrap.main
      1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:288)
      2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:413)
      2 frames