NutzCN Logo
问答 这个报错什么情况?求解求解
发布于 2809天前 作者 qq_36b64d67 2602 次浏览 复制 上一个帖子 下一个帖子
标签:

java.lang.NoClassDefFoundError: com/ibatis/sqlmap/engine/impl/SqlMapClientImpl
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at org.nutz.lang.born.ConstructorBorning.born(ConstructorBorning.java:17)
at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
at org.nutz.lang.Mirror.born(Mirror.java:990)
at org.nutz.lang.Lang.wrapThrow(Lang.java:196)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:135)
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:4908)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5602)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1859)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:618)
at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:565)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1471)
at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1312)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1404)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:832)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323)
at sun.rmi.transport.Transport$1.run(Transport.java:200)
at sun.rmi.transport.Transport$1.run(Transport.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$256(TCPTransport.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
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.nutz.lang.born.BorningException: Fail to born 'org.nutz.ioc.loader.annotation.AnnotationIocLoader'
by args: [
@(com)] because:
java.lang.NoClassDefFoundError: com/ibatis/sqlmap/engine/impl/SqlMapClientImpl
at org.nutz.lang.born.DynamicConstructorBorning.born(DynamicConstructorBorning.java:21)
at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
at org.nutz.lang.Mirror.born(Mirror.java:990)
at org.nutz.ioc.loader.combo.ComboIocLoader.createIocLoader(ComboIocLoader.java:126)
at org.nutz.ioc.loader.combo.ComboIocLoader.(ComboIocLoader.java:80)
at org.nutz.mvc.ioc.provider.ComboIocProvider.create(ComboIocProvider.java:20)
at org.nutz.mvc.impl.NutLoading.createIoc(NutLoading.java:384)
at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:103)
... 51 more
Caused by: java.lang.NoClassDefFoundError: com/ibatis/sqlmap/engine/impl/SqlMapClientImpl
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:3118)
at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:1340)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1827)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1701)
at java.lang.Class.getDeclaringClass0(Native Method)
at java.lang.Class.getDeclaringClass(Class.java:1235)
at java.lang.Class.getEnclosingClass(Class.java:1277)
at java.lang.Class.getSimpleBinaryName(Class.java:1443)
at java.lang.Class.isMemberClass(Class.java:1433)
at org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:63)
at org.nutz.ioc.loader.annotation.AnnotationIocLoader.(AnnotationIocLoader.java:46)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at org.nutz.lang.born.DynamicConstructorBorning.born(DynamicConstructorBorning.java:19)
... 58 more
Caused by: java.lang.ClassNotFoundException: com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1858)
at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1701)
... 77 more

8 回复

某个东西用到了ibatis的类???

没有啊,就是刚在idea建立一个项目,没用那个

debug一下AnnotationIocLoader的63行,看看报错的时候正在处理哪个类

表示新手不会debug

学啊。。。

启动日志,完整贴一下,记得用代码按钮

"F:\WorkSpace\tomcat 7\bin\catalina.bat" run
[2017-04-14 01:04:03,368] Artifact nutz:war exploded: Server is not connected. Deploy is not available.
Using CATALINA_BASE:   "C:\Users\Administrator\.IntelliJIdea2016.3\system\tomcat\Unnamed_nutz"
Using CATALINA_HOME:   "F:\WorkSpace\tomcat 7"
Using CATALINA_TMPDIR: "F:\WorkSpace\tomcat 7\temp"
Using JRE_HOME:        "C:\Program Files\Java\jdk1.8.0_65"
Using CLASSPATH:       "F:\WorkSpace\tomcat 7\bin\bootstrap.jar;F:\WorkSpace\tomcat 7\bin\tomcat-juli.jar"
Connected to the target VM, address: '127.0.0.1:56545', transport: 'socket'
四月 14, 2017 1:04:04 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server version:        Apache Tomcat/7.0.68
四月 14, 2017 1:04:04 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server built:          Feb 8 2016 20:25:54 UTC
四月 14, 2017 1:04:04 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server number:         7.0.68.0
四月 14, 2017 1:04:04 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Name:               Windows 7
四月 14, 2017 1:04:04 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Version:            6.1
四月 14, 2017 1:04:04 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Architecture:          amd64
四月 14, 2017 1:04:04 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Java Home:             C:\Program Files\Java\jdk1.8.0_65\jre
四月 14, 2017 1:04:04 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Version:           1.8.0_65-b17
四月 14, 2017 1:04:04 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Vendor:            Oracle Corporation
四月 14, 2017 1:04:04 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_BASE:         C:\Users\Administrator\.IntelliJIdea2016.3\system\tomcat\Unnamed_nutz
四月 14, 2017 1:04:04 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_HOME:         F:\WorkSpace\tomcat 7
四月 14, 2017 1:04:04 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:56545,suspend=y,server=n
四月 14, 2017 1:04:04 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcom.sun.management.jmxremote=
四月 14, 2017 1:04:04 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcom.sun.management.jmxremote.port=1099
四月 14, 2017 1:04:04 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcom.sun.management.jmxremote.ssl=false
四月 14, 2017 1:04:04 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcom.sun.management.jmxremote.authenticate=false
四月 14, 2017 1:04:04 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.rmi.server.hostname=127.0.0.1
四月 14, 2017 1:04:04 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.util.logging.config.file=C:\Users\Administrator\.IntelliJIdea2016.3\system\tomcat\Unnamed_nutz\conf\logging.properties
四月 14, 2017 1:04:04 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
四月 14, 2017 1:04:04 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.endorsed.dirs=F:\WorkSpace\tomcat 7\endorsed
四月 14, 2017 1:04:04 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.base=C:\Users\Administrator\.IntelliJIdea2016.3\system\tomcat\Unnamed_nutz
四月 14, 2017 1:04:04 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.home=F:\WorkSpace\tomcat 7
四月 14, 2017 1:04:04 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.io.tmpdir=F:\WorkSpace\tomcat 7\temp
四月 14, 2017 1:04:04 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: Loaded APR based Apache Tomcat Native library 1.1.33 using APR version 1.5.1.
四月 14, 2017 1:04:04 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
四月 14, 2017 1:04:05 下午 org.apache.catalina.core.AprLifecycleListener initializeSSL
信息: OpenSSL successfully initialized (OpenSSL 1.0.1m 19 Mar 2015)
四月 14, 2017 1:04:05 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-apr-8080"]
四月 14, 2017 1:04:05 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-apr-8009"]
四月 14, 2017 1:04:05 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1505 ms
四月 14, 2017 1:04:05 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
四月 14, 2017 1:04:05 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.68
四月 14, 2017 1:04:05 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-apr-8080"]
四月 14, 2017 1:04:05 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["ajp-apr-8009"]
四月 14, 2017 1:04:05 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 42 ms
Connected to server
[2017-04-14 01:04:05,555] Artifact nutz:war exploded: Artifact is being deployed, please wait...
四月 14, 2017 1:04:05 下午 org.apache.catalina.loader.WebappClassLoaderBase validateJarFile
信息: validateJarFile(E:\Users\Administrator\workspace\nutz\out\artifacts\nutz_war_exploded\WEB-INF\lib\servlet-api.jar) - jar not loaded. See Servlet Spec 3.0, section 10.7.2. Offending class: javax/servlet/Servlet.class
四月 14, 2017 1:04:06 下午 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.
2017-4-14 13:4:6.205 WARN [RMI TCP Connection(3)-127.0.0.1] !!You are using default SystemLog! Don't use it in Production environment!!
2017-4-14 13:4:6.210 INFO [RMI TCP Connection(3)-127.0.0.1] NutFilter[nutz] starting ...
2017-4-14 13:4:6.255 DEBUG [RMI TCP Connection(3)-127.0.0.1] Locations for Scans:
[Dir[path=F:\WorkSpace\tomcat 7\bin], Jar[path=E:\Users\Administrator\workspace\nutz\out\artifacts\nutz_war_exploded\WEB-INF\lib\nutz-1.r.59.jar], Jar[path=F:\WorkSpace\tomcat 7\bin\bootstrap.jar], Jar[path=F:\WorkSpace\tomcat 7\bin\tomcat-juli.jar]]
2017-4-14 13:4:6.308 DEBUG [RMI TCP Connection(3)-127.0.0.1] Locations for Scans:
{F:\WorkSpace\tomcat 7\bin=Dir[path=F:\WorkSpace\tomcat 7\bin], E:\Users\Administrator\workspace\nutz\out\artifacts\nutz_war_exploded\WEB-INF\lib\nutz-1.r.59.jar=Jar[path=E:\Users\Administrator\workspace\nutz\out\artifacts\nutz_war_exploded\WEB-INF\lib\nutz-1.r.59.jar], F:\WorkSpace\tomcat 7\bin\bootstrap.jar=Jar[path=F:\WorkSpace\tomcat 7\bin\bootstrap.jar], F:\WorkSpace\tomcat 7\bin\tomcat-juli.jar=Jar[path=F:\WorkSpace\tomcat 7\bin\tomcat-juli.jar], E:\Users\Administrator\workspace\nutz\out\artifacts\nutz_war_exploded\WEB-INF\classes=Dir[path=E:\Users\Administrator\workspace\nutz\out\artifacts\nutz_war_exploded\WEB-INF\classes], E:\Users\Administrator\workspace\nutz\out\artifacts\nutz_war_exploded\WEB-INF\lib\servlet-api.jar=Jar[path=E:\Users\Administrator\workspace\nutz\out\artifacts\nutz_war_exploded\WEB-INF\lib\servlet-api.jar], E:\Users\Administrator\workspace\nutz\out\artifacts\nutz_war_exploded\WEB-INF\lib\druid-1.0.26.jar=Jar[path=E:\Users\Administrator\workspace\nutz\out\artifacts\nutz_war_exploded\WEB-INF\lib\druid-1.0.26.jar], E:\Users\Administrator\workspace\nutz\out\artifacts\nutz_war_exploded\WEB-INF\lib\mysql-connector-java-5.1.40.jar=Jar[path=E:\Users\Administrator\workspace\nutz\out\artifacts\nutz_war_exploded\WEB-INF\lib\mysql-connector-java-5.1.40.jar]}
2017-4-14 13:4:6.358 DEBUG [RMI TCP Connection(3)-127.0.0.1] Using 94 castor for Castors
2017-4-14 13:4:6.367 DEBUG [RMI TCP Connection(3)-127.0.0.1] Loading by class org.nutz.mvc.impl.NutLoading
2017-4-14 13:4:6.370 INFO [RMI TCP Connection(3)-127.0.0.1] Nutz Version : 1.r.59 
2017-4-14 13:4:6.370 INFO [RMI TCP Connection(3)-127.0.0.1] Nutz.Mvc[nutz] is initializing ...
2017-4-14 13:4:6.370 DEBUG [RMI TCP Connection(3)-127.0.0.1] Web Container Information:
2017-4-14 13:4:6.371 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - Default Charset : GBK
2017-4-14 13:4:6.372 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - Current . path  : F:\WorkSpace\tomcat 7\bin\.
2017-4-14 13:4:6.372 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - Java Version    : 1.8.0_65
2017-4-14 13:4:6.372 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - File separator  : \
2017-4-14 13:4:6.372 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - Timezone        : Asia/Shanghai
2017-4-14 13:4:6.372 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - OS              : Windows 7 amd64
2017-4-14 13:4:6.372 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - ServerInfo      : Apache Tomcat/7.0.68
2017-4-14 13:4:6.373 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - Servlet API     : 3.0
2017-4-14 13:4:6.373 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - ContextPath     : 
2017-4-14 13:4:6.373 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - context.tempdir : C:\Users\Administrator\.IntelliJIdea2016.3\system\tomcat\Unnamed_nutz\work\Catalina\localhost\_
2017-4-14 13:4:6.373 DEBUG [RMI TCP Connection(3)-127.0.0.1]  - MainModule      : com.MainModule
2017-4-14 13:4:6.374 DEBUG [RMI TCP Connection(3)-127.0.0.1] >> app.root = E:/Users/Administrator/workspace/nutz/out/artifacts/nutz_war_exploded
2017-4-14 13:4:6.379 DEBUG [RMI TCP Connection(3)-127.0.0.1] @IocBy(type=org.nutz.mvc.ioc.provider.ComboIocProvider, args=["*js", "ioc/", "*anno", "com", "*tx", "*async"],init=[])
2017-4-14 13:4:6.407 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found 1 resource by src( ioc/ ) , regex( ^(.+[.])(js|json)$ )
2017-4-14 13:4:6.407 DEBUG [RMI TCP Connection(3)-127.0.0.1] loading ioc js config from [dao.js]
2017-4-14 13:4:6.412 DEBUG [RMI TCP Connection(3)-127.0.0.1] Loaded 2 bean define from path=[ioc/] --> [dataSource, dao]
2017-4-14 13:4:8.726 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found 1465 resource by src( com/ ) , regex( ^.+[.]class$ )
2017-4-14 13:4:9.190 INFO [RMI TCP Connection(3)-127.0.0.1] Resource can't map to Class, Resource alibaba/druid/stat/JdbcStatManagerFactoryBean.class
2017-4-14 13:4:9.234 INFO [RMI TCP Connection(3)-127.0.0.1] Resource can't map to Class, Resource alibaba/druid/support/hibernate/DruidConnectionProvider.class
2017-4-14 13:4:9.282 INFO [RMI TCP Connection(3)-127.0.0.1] Resource can't map to Class, Resource alibaba/druid/support/ibatis/DruidDataSourceFactory.class
2017-4-14 13:4:9.321 INFO [RMI TCP Connection(3)-127.0.0.1] Resource can't map to Class, Resource alibaba/druid/support/ibatis/SpringIbatisBeanNameAutoProxyCreator.class
2017-4-14 13:4:9.359 INFO [RMI TCP Connection(3)-127.0.0.1] Resource can't map to Class, Resource alibaba/druid/support/ibatis/SpringIbatisBeanTypeAutoProxyCreator.class
2017-4-14 13:4:9.398 INFO [RMI TCP Connection(3)-127.0.0.1] Resource can't map to Class, Resource alibaba/druid/support/ibatis/SqlMapClientImplWrapper.class
2017-4-14 13:4:9.435 INFO [RMI TCP Connection(3)-127.0.0.1] Resource can't map to Class, Resource alibaba/druid/support/ibatis/SqlMapClientWrapper.class
2017-4-14 13:4:9.473 INFO [RMI TCP Connection(3)-127.0.0.1] Resource can't map to Class, Resource alibaba/druid/support/ibatis/SqlMapExecutorWrapper.class
2017-4-14 13:4:9.511 INFO [RMI TCP Connection(3)-127.0.0.1] Resource can't map to Class, Resource alibaba/druid/support/ibatis/SqlMapSessionWrapper.class
2017-4-14 13:4:9.554 INFO [RMI TCP Connection(3)-127.0.0.1] Resource can't map to Class, Resource alibaba/druid/support/jconsole/DruidPlugin.class
2017-4-14 13:4:9.617 INFO [RMI TCP Connection(3)-127.0.0.1] Resource can't map to Class, Resource alibaba/druid/support/opds/udf/ExportColumns.class
2017-4-14 13:4:9.658 INFO [RMI TCP Connection(3)-127.0.0.1] Resource can't map to Class, Resource alibaba/druid/support/opds/udf/ExportConditionColumns.class
2017-4-14 13:4:9.698 INFO [RMI TCP Connection(3)-127.0.0.1] Resource can't map to Class, Resource alibaba/druid/support/opds/udf/ExportConditions.class
2017-4-14 13:4:9.740 INFO [RMI TCP Connection(3)-127.0.0.1] Resource can't map to Class, Resource alibaba/druid/support/opds/udf/ExportSelectListColumns.class
2017-4-14 13:4:9.780 INFO [RMI TCP Connection(3)-127.0.0.1] Resource can't map to Class, Resource alibaba/druid/support/opds/udf/ExportTables.class
2017-4-14 13:4:9.823 INFO [RMI TCP Connection(3)-127.0.0.1] Resource can't map to Class, Resource alibaba/druid/support/quartz/DruidQuartzConnectionProvider.class
2017-4-14 13:4:9.864 INFO [RMI TCP Connection(3)-127.0.0.1] Resource can't map to Class, Resource alibaba/druid/support/simplejndi/DruidDataSourceConverter.class
2017-4-14 13:4:9.905 INFO [RMI TCP Connection(3)-127.0.0.1] Resource can't map to Class, Resource alibaba/druid/support/spring/DruidLobCreator.class
2017-4-14 13:4:9.945 INFO [RMI TCP Connection(3)-127.0.0.1] Resource can't map to Class, Resource alibaba/druid/support/spring/DruidLobHandler.class
2017-4-14 13:4:9.986 INFO [RMI TCP Connection(3)-127.0.0.1] Resource can't map to Class, Resource alibaba/druid/support/spring/DruidNativeJdbcExtractor.class
2017-4-14 13:4:10.27 INFO [RMI TCP Connection(3)-127.0.0.1] Resource can't map to Class, Resource alibaba/druid/support/spring/MBeanServerFactoryBean.class
2017-4-14 13:4:10.67 INFO [RMI TCP Connection(3)-127.0.0.1] Resource can't map to Class, Resource alibaba/druid/support/spring/mvc/StatHandlerInterceptor.class
2017-4-14 13:4:10.108 INFO [RMI TCP Connection(3)-127.0.0.1] Resource can't map to Class, Resource alibaba/druid/support/spring/stat/annotation/StatAnnotationAdvisor.class
2017-4-14 13:4:10.149 INFO [RMI TCP Connection(3)-127.0.0.1] Resource can't map to Class, Resource alibaba/druid/support/spring/stat/annotation/StatAnnotationBeanPostProcessor.class
2017-4-14 13:4:10.189 INFO [RMI TCP Connection(3)-127.0.0.1] Resource can't map to Class, Resource alibaba/druid/support/spring/stat/BeanTypeAutoProxyCreator.class
2017-4-14 13:4:10.231 INFO [RMI TCP Connection(3)-127.0.0.1] Resource can't map to Class, Resource alibaba/druid/support/spring/stat/config/DruidStatBeanDefinitionParser.class
2017-4-14 13:4:10.272 INFO [RMI TCP Connection(3)-127.0.0.1] Resource can't map to Class, Resource alibaba/druid/support/spring/stat/config/DruidStatNamespaceHandler.class
2017-4-14 13:4:10.313 INFO [RMI TCP Connection(3)-127.0.0.1] Resource can't map to Class, Resource alibaba/druid/support/spring/stat/DruidStatInterceptor.class
2017-4-14 13:4:10.354 INFO [RMI TCP Connection(3)-127.0.0.1] Resource can't map to Class, Resource mysql/fabric/hibernate/FabricMultiTenantConnectionProvider.class
2017-4-14 13:4:10.501 INFO [RMI TCP Connection(3)-127.0.0.1] Resource can't map to Class, Resource mysql/jdbc/integration/c3p0/MysqlConnectionTester.class
2017-4-14 13:4:10.521 INFO [RMI TCP Connection(3)-127.0.0.1] Resource can't map to Class, Resource mysql/jdbc/integration/jboss/ExtendedMysqlExceptionSorter.class
2017-4-14 13:4:10.540 INFO [RMI TCP Connection(3)-127.0.0.1] Resource can't map to Class, Resource mysql/jdbc/integration/jboss/MysqlValidConnectionChecker.class
2017-4-14 13:4:10.568 DEBUG [RMI TCP Connection(3)-127.0.0.1] Found @IocBean : class com.module.UserModule
2017-4-14 13:4:10.692 ERROR [RMI TCP Connection(3)-127.0.0.1] Error happend during start serivce!
org.nutz.lang.born.BorningException: Fail to born 'org.nutz.ioc.loader.annotation.AnnotationIocLoader'
 by args: [
  @(com)] because:
java.lang.NoClassDefFoundError: com/ibatis/sqlmap/engine/impl/SqlMapClientImpl
	at org.nutz.lang.born.DynamicConstructorBorning.born(DynamicConstructorBorning.java:21)
	at org.nutz.lang.born.BornContext.doBorn(BornContext.java:60)
	at org.nutz.lang.Mirror.born(Mirror.java:990)
	at org.nutz.ioc.loader.combo.ComboIocLoader.createIocLoader(ComboIocLoader.java:126)
	at org.nutz.ioc.loader.combo.ComboIocLoader.<init>(ComboIocLoader.java:80)
	at org.nutz.mvc.ioc.provider.ComboIocProvider.create(ComboIocProvider.java:20)
	at org.nutz.mvc.impl.NutLoading.createIoc(NutLoading.java:384)
	at org.nutz.mvc.impl.NutLoading.load(NutLoading.java:103)
	at org.nutz.mvc.ActionHandler.<init>(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.<init>(ApplicationFilterConfig.java:105)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4908)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5602)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
	at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:899)
	at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:875)
	at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:652)
	at org.apache.catalina.startup.HostConfig.manageApp(HostConfig.java:1859)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
	at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:618)
	at org.apache.catalina.mbeans.MBeanFactory.createStandardContext(MBeanFactory.java:565)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:301)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
	at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1471)
	at javax.management.remote.rmi.RMIConnectionImpl.access$300(RMIConnectionImpl.java:76)
	at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1312)
	at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1404)
	at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:832)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:497)
	at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:323)
	at sun.rmi.transport.Transport$1.run(Transport.java:200)
	at sun.rmi.transport.Transport$1.run(Transport.java:197)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.Transport.serviceCall(Transport.java:196)
	at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:568)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:826)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.lambda$run$256(TCPTransport.java:683)
	at java.security.AccessController.doPrivileged(Native Method)
	at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:682)
	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.NoClassDefFoundError: com/ibatis/sqlmap/engine/impl/SqlMapClientImpl
	at java.lang.ClassLoader.defineClass1(Native Method)
	at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
	at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
	at org.apache.catalina.loader.WebappClassLoaderBase.findClassInternal(WebappClassLoaderBase.java:3118)
	at org.apache.catalina.loader.WebappClassLoaderBase.findClass(WebappClassLoaderBase.java:1340)
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1827)
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1701)
	at java.lang.Class.getDeclaringClass0(Native Method)
	at java.lang.Class.getDeclaringClass(Class.java:1235)
	at java.lang.Class.getEnclosingClass(Class.java:1277)
	at java.lang.Class.getSimpleBinaryName(Class.java:1443)
	at java.lang.Class.isMemberClass(Class.java:1433)
	at org.nutz.ioc.loader.annotation.AnnotationIocLoader.addClass(AnnotationIocLoader.java:63)
	at org.nutz.ioc.loader.annotation.AnnotationIocLoader.<init>(AnnotationIocLoader.java:46)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
	at org.nutz.lang.born.DynamicConstructorBorning.born(DynamicConstructorBorning.java:19)
	... 58 more
Caused by: java.lang.ClassNotFoundException: com.ibatis.sqlmap.engine.impl.SqlMapClientImpl
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1858)
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1701)
	... 77 more
四月 14, 2017 1:04:10 下午 org.apache.catalina.core.StandardContext startInternal
严重: One or more Filters failed to start. Full details will be found in the appropriate container log file
四月 14, 2017 1:04:10 下午 org.apache.catalina.core.StandardContext startInternal
严重: Context [] startup failed due to previous errors
[2017-04-14 01:04:10,712] Artifact nutz:war exploded: Error during artifact deployment. See server log for details.
四月 14, 2017 1:04:15 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory F:\WorkSpace\tomcat 7\webapps\manager
四月 14, 2017 1:04:15 下午 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deployment of web application directory F:\WorkSpace\tomcat 7\webapps\manager has finished in 100 ms

我晕,你的package太短了

com 改成 com.你的英文名.nutzdemo

已解决,确实是包名问题,谢谢

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