NutzCN Logo
问答 nutz book 启动出问题
发布于 2926天前 作者 屠夫与 2077 次浏览 复制 上一个帖子 下一个帖子
标签:

nutz book 启动出问题
:Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1892)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1735)
... 39 more
请牛人解答!

25 回复

指的是论坛的源码??

那是一个maven工程, eclipse导入的时候选maven才行的

引入 common-logging.jar

对,就是maven导入的

你是不是改了pom.xml?? 这个 common-logging 这个依赖, nutz-integration-shiro等都会引入.

实在不行的话, 在pom.xml 主动加上这个依赖咯

加上了,还是不行啊

十二月 19, 2016 12:11:55 下午 org.apache.catalina.loader.WebappClassLoaderBase loadClass
信息: Illegal access: this web application instance has been stopped already. Could not load net.sf.ehcache.store.disk.DiskStore$KeySet. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException

绝对没改pom.xml,加入这个之后,下一个又报错

贴完整报错信息

十二月 19, 2016 12:22:20 下午 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:nutz-book-project-master' did not find a matching property.
十二月 19, 2016 12:22:20 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server version: Apache Tomcat/7.0.72
十二月 19, 2016 12:22:20 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server built: Sep 14 2016 12:12:26 UTC
十二月 19, 2016 12:22:20 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server number: 7.0.72.0
十二月 19, 2016 12:22:20 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Name: Windows 8.1
十二月 19, 2016 12:22:20 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Version: 6.3
十二月 19, 2016 12:22:20 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Architecture: amd64
十二月 19, 2016 12:22:20 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Java Home: D:\software\Java\jdk1.8.0_51\jre
十二月 19, 2016 12:22:20 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Version: 1.8.0_51-b16
十二月 19, 2016 12:22:20 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Vendor: Oracle Corporation
十二月 19, 2016 12:22:20 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_BASE: E:\WorkSpace\Java.metadata.plugins\org.eclipse.wst.server.core\tmp2
十二月 19, 2016 12:22:20 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_HOME: D:\software\tomcat-7.0
十二月 19, 2016 12:22:20 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.base=E:\WorkSpace\Java.metadata.plugins\org.eclipse.wst.server.core\tmp2
十二月 19, 2016 12:22:20 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.home=D:\software\tomcat-7.0
十二月 19, 2016 12:22:20 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dwtp.deploy=E:\WorkSpace\Java.metadata.plugins\org.eclipse.wst.server.core\tmp2\wtpwebapps
十二月 19, 2016 12:22:20 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.endorsed.dirs=D:\software\tomcat-7.0\endorsed
十二月 19, 2016 12:22:20 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dfile.encoding=GBK
十二月 19, 2016 12:22:20 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: Loaded APR based Apache Tomcat Native library 1.2.8 using APR version 1.5.2.
十二月 19, 2016 12:22:20 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
十二月 19, 2016 12:22:21 下午 org.apache.catalina.core.AprLifecycleListener initializeSSL
信息: OpenSSL successfully initialized (OpenSSL 1.0.2h 3 May 2016)
十二月 19, 2016 12:22:21 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-apr-8080"]
十二月 19, 2016 12:22:21 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-apr-8009"]
十二月 19, 2016 12:22:21 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 809 ms
十二月 19, 2016 12:22:21 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
十二月 19, 2016 12:22:21 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.72
十二月 19, 2016 12:22:21 下午 org.apache.catalina.deploy.WebXml orderWebFragments
警告: Used a wrong fragment name dummy at web.xml absolute-ordering tag!
十二月 19, 2016 12:22:21 下午 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined
十二月 19, 2016 12:22:21 下午 org.apache.catalina.startup.TldConfig execute
信息: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
十二月 19, 2016 12:22:21 下午 org.apache.catalina.core.ApplicationContext log
信息: Initializing Shiro environment
12:22:21.979 INFO (EnvironmentLoader.java:128) initEnvironment - Starting Shiro environment initialization.
12:22:21.990 DEBUG (ResourceUtils.java:159) loadFromClassPath - Opening resource from class path [shiro.ini]
12:22:21.993 DEBUG (Ini.java:351) load - Parsing [main]
12:22:21.996 DEBUG (Ini.java:351) load - Parsing [urls]
12:22:22.000 DEBUG (IniFactorySupport.java:122) createInstance - Creating instance from Ini [sections=main,urls]
12:22:22.192 DEBUG (ReflectionBuilder.java:396) resolveReference - Encountered object reference '$sessionDAO'. Looking up object with id 'sessionDAO'
12:22:22.200 DEBUG (ReflectionBuilder.java:396) resolveReference - Encountered object reference '$sessionManager'. Looking up object with id 'sessionManager'
12:22:22.203 DEBUG (ReflectionBuilder.java:396) resolveReference - Encountered object reference '$sessionIdGenerator'. Looking up object with id 'sessionIdGenerator'
12:22:22.207 DEBUG (EhCacheManager.java:206) ensureCacheManager - cacheManager property not set. Constructing CacheManager instance...
12:22:22.212 DEBUG (ResourceUtils.java:159) loadFromClassPath - Opening resource from class path [ehcache.xml]
12:22:22.214 DEBUG (ConfigurationFactory.java:150) parseConfiguration - Configuring ehcache from InputStream
12:22:22.229 DEBUG (BeanHandler.java:271) setAttribute - Ignoring ehcache attribute xmlns:xsi
12:22:22.229 DEBUG (BeanHandler.java:271) setAttribute - Ignoring ehcache attribute xsi:noNamespaceSchemaLocation
12:22:22.231 DEBUG (DiskStoreConfiguration.java:141) translatePath - Disk Store Path: ehcache.disk.store.dir/yvr_cache
12:22:22.238 WARN (CacheConfiguration.java:2388) setStatistics - Statistics can no longer be enabled via configuration.
12:22:22.241 DEBUG (PropertyUtil.java:87) parseProperties - propertiesString is null.
12:22:22.249 DEBUG (ConfigurationHelper.java:189) createCacheManagerEventListener - No CacheManagerEventListenerFactory class specified. Skipping...
12:22:22.285 DEBUG (Cache.java:1044) createBootstrapCacheLoader - No BootstrapCacheLoaderFactory class specified. Skipping...
12:22:22.286 DEBUG (Cache.java:1017) createCacheWriter - CacheWriter factory not configured. Skipping...
12:22:22.286 DEBUG (ConfigurationHelper.java:100) createCacheExceptionHandler - No CacheExceptionHandlerFactory class specified. Skipping...
12:22:22.291 DEBUG (Cache.java:1044) createBootstrapCacheLoader - No BootstrapCacheLoaderFactory class specified. Skipping...
12:22:22.291 DEBUG (Cache.java:1017) createCacheWriter - CacheWriter factory not configured. Skipping...
12:22:22.291 DEBUG (ConfigurationHelper.java:100) createCacheExceptionHandler - No CacheExceptionHandlerFactory class specified. Skipping...
12:22:22.293 DEBUG (Cache.java:1044) createBootstrapCacheLoader - No BootstrapCacheLoaderFactory class specified. Skipping...
12:22:22.293 DEBUG (Cache.java:1017) createCacheWriter - CacheWriter factory not configured. Skipping...
12:22:22.293 DEBUG (ConfigurationHelper.java:100) createCacheExceptionHandler - No CacheExceptionHandlerFactory class specified. Skipping...
12:22:22.304 WARN (DiskStorePathManager.java:162) resolveAndLockIfNeeded - diskStorePath 'ehcache.disk.store.dir\yvr_cache' is already used by an existing CacheManager either in the same VM or in a different process.
The diskStore path for this CacheManager will be set to ehcache.disk.store.dir\yvr_cache\ehcache_auto_created8105234966386683969diskstore.
To avoid this warning consider using the CacheManager factory methods to create a singleton CacheManager or specifying a separate ehcache configuration (ehcache.xml) for each CacheManager instance.
12:22:22.304 DEBUG (DiskStorePathManager.java:169) resolveAndLockIfNeeded - Using diskstore path ehcache.disk.store.dir\yvr_cache\ehcache_auto_created8105234966386683969diskstore
12:22:22.304 DEBUG (DiskStorePathManager.java:170) resolveAndLockIfNeeded - Holding exclusive lock on D:\software\eclipse-jee-64\ehcache.disk.store.dir\yvr_cache\ehcache_auto_created8105234966386683969diskstore.ehcache-diskstore.lock
12:22:22.304 WARN (DiskStorageFactory.java:134) - Data in persistent disk stores is ignored for stores from automatically created directories.
Remove diskPersistent or resolve the conflicting disk paths in cache configuration.
Deleting data file D:\software\eclipse-jee-64\ehcache.disk.store.dir\yvr_cache\ehcache_auto_created8105234966386683969diskstore\markdown.data
12:22:22.305 DEBUG (DiskStorageFactory.java:838) deleteFile - Failed to delete file markdown.data
12:22:22.310 DEBUG (DiskStorageFactory.java:170) - Matching data file missing (or empty) for index file. Deleting index file ehcache.disk.store.dir\yvr_cache\ehcache_auto_created8105234966386683969diskstore\markdown.index
12:22:22.310 DEBUG (DiskStorageFactory.java:838) deleteFile - Failed to delete file markdown.index
12:22:22.367 DEBUG (Cache.java:1262) initialise - Initialised cache: markdown
12:22:22.367 DEBUG (ConfigurationHelper.java:334) createCacheDecorators - CacheDecoratorFactory not configured. Skipping for 'markdown'.
12:22:22.368 DEBUG (ConfigurationHelper.java:364) createDefaultCacheDecorators - CacheDecoratorFactory not configured for defaultCache. Skipping for 'markdown'.
12:22:22.377 DEBUG (MemoryStore.java:180) - Initialized net.sf.ehcache.store.MemoryStore for shiro-activeSessionCache
12:22:22.382 DEBUG (Cache.java:1262) initialise - Initialised cache: shiro-activeSessionCache
12:22:22.382 DEBUG (ConfigurationHelper.java:334) createCacheDecorators - CacheDecoratorFactory not configured. Skipping for 'shiro-activeSessionCache'.
12:22:22.382 DEBUG (ConfigurationHelper.java:364) createDefaultCacheDecorators - CacheDecoratorFactory not configured for defaultCache. Skipping for 'shiro-activeSessionCache'.
12:22:22.383 DEBUG (EhCacheManager.java:219) ensureCacheManager - implicit cacheManager created successfully.
12:22:22.383 ERROR (EnvironmentLoader.java:146) initEnvironment - Shiro environment initialization failed
org.apache.shiro.config.ConfigurationException: Unable to instantiate class [net.wendal.nutzbook.shiro.cache.RedisCacheManager] for object named 'cacheManager_redis'. Please ensure you've specified the fully qualified class name correctly.
at org.apache.shiro.config.ReflectionBuilder.createNewInstance(ReflectionBuilder.java:309) ~[shiro-core-1.3.2.jar:1.3.2]
at org.apache.shiro.config.ReflectionBuilder$InstantiationStatement.doExecute(ReflectionBuilder.java:927) ~[shiro-core-1.3.2.jar:1.3.2]
at org.apache.shiro.config.ReflectionBuilder$Statement.execute(ReflectionBuilder.java:887) ~[shiro-core-1.3.2.jar:1.3.2]
at org.apache.shiro.config.ReflectionBuilder$BeanConfigurationProcessor.execute(ReflectionBuilder.java:765) ~[shiro-core-1.3.2.jar:1.3.2]
at org.apache.shiro.config.ReflectionBuilder.buildObjects(ReflectionBuilder.java:260) ~[shiro-core-1.3.2.jar:1.3.2]
at org.apache.shiro.config.IniSecurityManagerFactory.buildInstances(IniSecurityManagerFactory.java:167) ~[shiro-core-1.3.2.jar:1.3.2]
at org.apache.shiro.config.IniSecurityManagerFactory.createSecurityManager(IniSecurityManagerFactory.java:130) ~[shiro-core-1.3.2.jar:1.3.2]
at org.apache.shiro.config.IniSecurityManagerFactory.createSecurityManager(IniSecurityManagerFactory.java:108) ~[shiro-core-1.3.2.jar:1.3.2]
at org.apache.shiro.config.IniSecurityManagerFactory.createInstance(IniSecurityManagerFactory.java:94) ~[shiro-core-1.3.2.jar:1.3.2]
at org.apache.shiro.config.IniSecurityManagerFactory.createInstance(IniSecurityManagerFactory.java:46) ~[shiro-core-1.3.2.jar:1.3.2]
at org.apache.shiro.config.IniFactorySupport.createInstance(IniFactorySupport.java:123) ~[shiro-core-1.3.2.jar:1.3.2]
at org.apache.shiro.util.AbstractFactory.getInstance(AbstractFactory.java:47) ~[shiro-core-1.3.2.jar:1.3.2]
at org.apache.shiro.web.env.IniWebEnvironment.createWebSecurityManager(IniWebEnvironment.java:203) ~[shiro-web-1.3.2.jar:1.3.2]
at org.apache.shiro.web.env.IniWebEnvironment.configure(IniWebEnvironment.java:99) ~[shiro-web-1.3.2.jar:1.3.2]
at org.apache.shiro.web.env.IniWebEnvironment.init(IniWebEnvironment.java:92) ~[shiro-web-1.3.2.jar:1.3.2]
at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:45) ~[shiro-core-1.3.2.jar:1.3.2]
at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:40) ~[shiro-core-1.3.2.jar:1.3.2]
at org.apache.shiro.web.env.EnvironmentLoader.createEnvironment(EnvironmentLoader.java:221) ~[shiro-web-1.3.2.jar:1.3.2]
at org.apache.shiro.web.env.EnvironmentLoader.initEnvironment(EnvironmentLoader.java:133) [shiro-web-1.3.2.jar:1.3.2]
at org.apache.shiro.web.env.EnvironmentLoaderListener.contextInitialized(EnvironmentLoaderListener.java:58) [shiro-web-1.3.2.jar:1.3.2]
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5118) [catalina.jar:7.0.72]
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5634) [catalina.jar:7.0.72]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145) [catalina.jar:7.0.72]
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1571) [catalina.jar:7.0.72]
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1561) [catalina.jar:7.0.72]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_51]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [?:1.8.0_51]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [?:1.8.0_51]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_51]
Caused by: org.apache.shiro.util.UnknownClassException: Unable to load class named [net.wendal.nutzbook.shiro.cache.RedisCacheManager] from the thread context, current, or system/application ClassLoaders. All heuristics have been exhausted. Class could not be found.
at org.apache.shiro.util.ClassUtils.forName(ClassUtils.java:152) ~[shiro-core-1.3.2.jar:1.3.2]
at org.apache.shiro.util.ClassUtils.newInstance(ClassUtils.java:168) ~[shiro-core-1.3.2.jar:1.3.2]
at org.apache.shiro.config.ReflectionBuilder.createNewInstance(ReflectionBuilder.java:302) ~[shiro-core-1.3.2.jar:1.3.2]
... 28 more
十二月 19, 2016 12:22:22 下午 org.apache.catalina.core.StandardContext listenerStart
严重: Exception sending context initialized event to listener instance of class org.apache.shiro.web.env.EnvironmentLoaderListener
org.apache.shiro.config.ConfigurationException: Unable to instantiate class [net.wendal.nutzbook.shiro.cache.RedisCacheManager] for object named 'cacheManager_redis'. Please ensure you've specified the fully qualified class name correctly.
at org.apache.shiro.config.ReflectionBuilder.createNewInstance(ReflectionBuilder.java:309)
at org.apache.shiro.config.ReflectionBuilder$InstantiationStatement.doExecute(ReflectionBuilder.java:927)
at org.apache.shiro.config.ReflectionBuilder$Statement.execute(ReflectionBuilder.java:887)
at org.apache.shiro.config.ReflectionBuilder$BeanConfigurationProcessor.execute(ReflectionBuilder.java:765)
at org.apache.shiro.config.ReflectionBuilder.buildObjects(ReflectionBuilder.java:260)
at org.apache.shiro.config.IniSecurityManagerFactory.buildInstances(IniSecurityManagerFactory.java:167)
at org.apache.shiro.config.IniSecurityManagerFactory.createSecurityManager(IniSecurityManagerFactory.java:130)
at org.apache.shiro.config.IniSecurityManagerFactory.createSecurityManager(IniSecurityManagerFactory.java:108)
at org.apache.shiro.config.IniSecurityManagerFactory.createInstance(IniSecurityManagerFactory.java:94)
at org.apache.shiro.config.IniSecurityManagerFactory.createInstance(IniSecurityManagerFactory.java:46)
at org.apache.shiro.config.IniFactorySupport.createInstance(IniFactorySupport.java:123)
at org.apache.shiro.util.AbstractFactory.getInstance(AbstractFactory.java:47)
at org.apache.shiro.web.env.IniWebEnvironment.createWebSecurityManager(IniWebEnvironment.java:203)
at org.apache.shiro.web.env.IniWebEnvironment.configure(IniWebEnvironment.java:99)
at org.apache.shiro.web.env.IniWebEnvironment.init(IniWebEnvironment.java:92)
at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:45)
at org.apache.shiro.util.LifecycleUtils.init(LifecycleUtils.java:40)
at org.apache.shiro.web.env.EnvironmentLoader.createEnvironment(EnvironmentLoader.java:221)
at org.apache.shiro.web.env.EnvironmentLoader.initEnvironment(EnvironmentLoader.java:133)
at org.apache.shiro.web.env.EnvironmentLoaderListener.contextInitialized(EnvironmentLoaderListener.java:58)
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:5118)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5634)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1571)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1561)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.shiro.util.UnknownClassException: Unable to load class named [net.wendal.nutzbook.shiro.cache.RedisCacheManager] from the thread context, current, or system/application ClassLoaders. All heuristics have been exhausted. Class could not be found.
at org.apache.shiro.util.ClassUtils.forName(ClassUtils.java:152)
at org.apache.shiro.util.ClassUtils.newInstance(ClassUtils.java:168)
at org.apache.shiro.config.ReflectionBuilder.createNewInstance(ReflectionBuilder.java:302)
... 28 more

十二月 19, 2016 12:22:22 下午 org.apache.catalina.core.StandardContext startInternal
严重: One or more listeners failed to start. Full details will be found in the appropriate container log file
十二月 19, 2016 12:22:22 下午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/nutzbook] startup failed due to previous errors
十二月 19, 2016 12:22:22 下午 org.apache.catalina.core.ApplicationContext log
信息: Cleaning up Shiro Environment
十二月 19, 2016 12:22:22 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
严重: The web application [/nutzbook] appears to have started a thread named [nutzbook] but has failed to stop it. This is very likely to create a memory leak.
十二月 19, 2016 12:22:22 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
严重: The web application [/nutzbook] appears to have started a thread named [markdown.data] but has failed to stop it. This is very likely to create a memory leak.
十二月 19, 2016 12:22:22 下午 org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
严重: The web application [/nutzbook] appears to have started a thread named [Statistics Thread-nutzbook-1] but has failed to stop it. This is very likely to create a memory leak.
十二月 19, 2016 12:22:22 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-apr-8080"]
十二月 19, 2016 12:22:22 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-apr-8009"]
十二月 19, 2016 12:22:22 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 1181 ms
十二月 19, 2016 12:24:22 下午 org.apache.catalina.loader.WebappClassLoaderBase loadClass
信息: Illegal access: this web application instance has been stopped already. Could not load net.sf.ehcache.store.disk.DiskStore$KeySet. The eventual following stack trace is caused by an error thrown for debugging purposes as well as to attempt to terminate the thread which caused the illegal access, and has no functional impact.
java.lang.IllegalStateException
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1777)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1735)
at net.sf.ehcache.store.disk.DiskStore.keySet(DiskStore.java:610)
at net.sf.ehcache.store.disk.DiskStorageFactory$DiskExpiryTask.run(DiskStorageFactory.java:817)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Unable to load class named [net.wendal.nutzbook.shiro.cache.RedisCacheManager]

没有编译好.

但是工程树上没有错误信息,只是启动的时候报这些错误

严重: Exception starting filter nutz
java.lang.NoClassDefFoundError: JobExecutionContext
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.privateGetPublicMethods(Class.java:2902)
at java.lang.Class.getMethods(Class.java:1615)
at org.nutz.mvc.impl.Loadings.isModule(Loadings.java:331)
at org.nutz.mvc.impl.Loadings.checkModule(Loadings.java:196)
at org.nutz.mvc.impl.Loadings.scanModuleInPackage(Loadings.java:187)
at org.nutz.mvc.impl.Loadings.scanModules(Loadings.java:166)
at org.nutz.mvc.impl.NutLoading.evalUrlMapping(NutLoading.java:180)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:108)
at org.nutz.mvc.ActionHandler.(ActionHandler.java:19)
at org.nutz.mvc.NutFilter._init(NutFilter.java:87)
at org.nutz.mvc.NutFilter.init(NutFilter.java:65)
at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:279)
at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:260)
at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:105)
at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4958)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5652)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:145)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1571)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1561)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.ClassNotFoundException: JobExecutionContext
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1892)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1735)
... 25 more

运行两次成功以后,再次报错

Caused by: java.lang.ClassNotFoundException: JobExecutionContext
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1892)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1735)
... 25 more

关掉tomcat的reload

终于调通了,看到后台管理里面竟然没有关于定制前端页面的?是这样的么?

没有, 欢迎添加

嗯嗯,好,果断添加

坐等你的pull req ^_^

添加回复
请先登陆
回到顶部