No Spring WebApplicationInitializer types detected on classpath

前端 未结 13 1802
野的像风
野的像风 2020-11-29 08:03

My Eclipse project is suddenly no longer deploying properly. I can\'t trace it to any particular change I\'ve made to the environment.

I have tested with multiple s

13条回答
  •  北海茫月
    2020-11-29 08:48

    In my case it also turned into a multi-hour debugging session. Trying to set up a more verbose logging turned out to be completely futile because the problem was that my application did not even start. Here's my context.xml:

    
    
        
            
                pluggabilityScan="${tomcat.util.scan.StandardJarScanFilter.jarsToScan}, my-own-app*.jar"
                pluggabilitySkip="*.jar"/>
        
    
    

    The problem was that to speed up the application startup, I started skipping scanning of many JARs, unfortunately including my own application.

提交回复
热议问题