NutzCN Logo
问答 Nutz-book Nutz烹调向导--启动一下当前这个空的项目报错
发布于 2148天前 作者 wx_29d4ij8o20pbqt6pdj45 1302 次浏览 复制 上一个帖子 下一个帖子
标签:
一月 07, 2019 2:42:05 下午 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:nutzbook' did not find a matching property.
一月 07, 2019 2:42:05 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server version:        Apache Tomcat/8.5.34
一月 07, 2019 2:42:05 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server built:          Sep 4 2018 22:28:22 UTC
一月 07, 2019 2:42:05 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server number:         8.5.34.0
一月 07, 2019 2:42:05 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Name:               Windows 7
一月 07, 2019 2:42:05 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Version:            6.1
一月 07, 2019 2:42:05 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Architecture:          amd64
一月 07, 2019 2:42:05 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Java Home:             C:\Program Files\Java\jdk1.8.0_191\jre
一月 07, 2019 2:42:05 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Version:           1.8.0_191-b12
一月 07, 2019 2:42:05 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Vendor:            Oracle Corporation
一月 07, 2019 2:42:05 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_BASE:         D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
一月 07, 2019 2:42:05 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_HOME:         E:\apache-tomcat-8.5.34
一月 07, 2019 2:42:05 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.base=D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
一月 07, 2019 2:42:05 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.home=E:\apache-tomcat-8.5.34
一月 07, 2019 2:42:05 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dwtp.deploy=D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps
一月 07, 2019 2:42:05 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.endorsed.dirs=E:\apache-tomcat-8.5.34\endorsed
一月 07, 2019 2:42:05 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dfile.encoding=GBK
一月 07, 2019 2:42:05 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [C:\Program Files\Java\jdk1.8.0_191\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre1.8.0_191/bin/server;C:/Program Files/Java/jre1.8.0_191/bin;C:/Program Files/Java/jre1.8.0_191/lib/amd64;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.8.0_191\bin;C:\Program Files\Java\jdk1.8.0_191\jre\bin;C:\Program Files\TortoiseSVN\bin;D:\apache-maven-3.6.0\bin\;E:\node\;E:\VSCodeSetup\Microsoft VS Code\bin;C:\Users\Administrator\AppData\Roaming\npm;D:\eclipse;;.]
一月 07, 2019 2:42:05 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-nio-8010"]
一月 07, 2019 2:42:05 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
信息: Using a shared selector for servlet write/read
一月 07, 2019 2:42:05 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-nio-8010"]
一月 07, 2019 2:42:05 下午 org.apache.catalina.core.StandardService initInternal
严重: Failed to initialize connector [Connector[AJP/1.3-8010]]
org.apache.catalina.LifecycleException: Failed to initialize component [Connector[AJP/1.3-8010]]
	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:112)
	at org.apache.catalina.core.StandardService.initInternal(StandardService.java:552)
	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
	at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:875)
	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
	at org.apache.catalina.startup.Catalina.load(Catalina.java:632)
	at org.apache.catalina.startup.Catalina.load(Catalina.java:655)
	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:498)
	at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:309)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
Caused by: org.apache.catalina.LifecycleException: Protocol handler initialization failed
	at org.apache.catalina.connector.Connector.initInternal(Connector.java:995)
	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
	... 12 more
Caused by: java.net.BindException: Address already in use: bind
	at sun.nio.ch.Net.bind0(Native Method)
	at sun.nio.ch.Net.bind(Net.java:433)
	at sun.nio.ch.Net.bind(Net.java:425)
	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
	at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:219)
	at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:1087)
	at org.apache.tomcat.util.net.AbstractJsseEndpoint.init(AbstractJsseEndpoint.java:265)
	at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:581)
	at org.apache.catalina.connector.Connector.initInternal(Connector.java:993)
	... 13 more

一月 07, 2019 2:42:05 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 573 ms
一月 07, 2019 2:42:05 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service [Catalina]
一月 07, 2019 2:42:05 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/8.5.34
一月 07, 2019 2:42:06 下午 org.apache.jasper.servlet.TldScanner scanJars
信息: 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.
2019-1-7 14:42:6.677 INFO [localhost-startStop-1] Select SystemLog as Nutz.Log implement
2019-1-7 14:42:6.684 INFO [localhost-startStop-1] NutFilter[nutz] starting ...
2019-1-7 14:42:6.795 DEBUG [localhost-startStop-1] Locations for Scans:
[Dir[path=D:\eclipse], Jar[path=D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\nutz-1.r.60%20(4).jar], Jar[path=E:\apache-tomcat-8.5.34\bin\bootstrap.jar], Jar[path=E:\apache-tomcat-8.5.34\bin\tomcat-juli.jar], Jar[path=C:\Program Files\Java\jdk1.8.0_191\lib\tools.jar]]
2019-1-7 14:42:6.893 DEBUG [localhost-startStop-1] Locations for Scans:
{D:\eclipse=Dir[path=D:\eclipse], D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\nutz-1.r.60%20(4).jar=Jar[path=D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\nutz-1.r.60%20(4).jar], E:\apache-tomcat-8.5.34\bin\bootstrap.jar=Jar[path=E:\apache-tomcat-8.5.34\bin\bootstrap.jar], E:\apache-tomcat-8.5.34\bin\tomcat-juli.jar=Jar[path=E:\apache-tomcat-8.5.34\bin\tomcat-juli.jar], C:\Program Files\Java\jdk1.8.0_191\lib\tools.jar=Jar[path=C:\Program Files\Java\jdk1.8.0_191\lib\tools.jar], D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\classes=Dir[path=D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\classes], D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\nutz-1.r.60 (4).jar=Jar[path=D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\nutz-1.r.60 (4).jar], D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\druid-1.0.9.jar=Jar[path=D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\druid-1.0.9.jar], D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\mysql-connector-java-8.0.13.jar=Jar[path=D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\mysql-connector-java-8.0.13.jar]}
2019-1-7 14:42:6.966 DEBUG [localhost-startStop-1] Using 95 castor for Castors
一月 07, 2019 2:42:06 下午 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter [nutz]
org.nutz.mvc.NutConfigException: java.lang.ClassNotFoundException: net.wendal.nutzbook.MainModule
	at org.nutz.mvc.config.AbstractNutConfig.getMainModule(AbstractNutConfig.java:134)
	at org.nutz.mvc.config.AbstractNutConfig.createLoading(AbstractNutConfig.java:51)
	at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:18)
	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:285)
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:266)
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4637)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5282)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1420)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1410)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassNotFoundException: net.wendal.nutzbook.MainModule
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1309)
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1137)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:264)
	at org.nutz.lang.Lang.loadClass(Lang.java:2022)
	at org.nutz.mvc.config.AbstractNutConfig.getMainModule(AbstractNutConfig.java:127)
	... 16 more

一月 07, 2019 2:42:06 下午 org.apache.catalina.core.StandardContext startInternal
严重: One or more Filters failed to start. Full details will be found in the appropriate container log file
一月 07, 2019 2:42:06 下午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/nutzbook] startup failed due to previous errors
一月 07, 2019 2:42:06 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-nio-8010"]
一月 07, 2019 2:42:06 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 1129 ms

11 回复

jar包是druid-1.0.9.jar;
mysql-connector-java-8.0.13.jar;
nutz-1.r.60.jar
数据库我也是选用的这个版本(MySQL最新版本)

首先,端口被其他程序占了
java.net.BindException: Address already in use: bind

然后,仔细检查类名,肯定写错了,认真核对
java.lang.ClassNotFoundException: net.wendal.nutzbook.MainModule

这是我的全路径名/nutzbook/src/net/wendal/nutzbook/MainModule.java要在web.xml下替换掉吗?替换成net.wendal.nutzbook.MainModule这样格式的?

一月 07, 2019 3:11:46 下午 org.apache.tomcat.util.digester.SetPropertiesRule begin
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:nutzbook' did not find a matching property.
一月 07, 2019 3:11:46 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server version:        Apache Tomcat/8.5.34
一月 07, 2019 3:11:46 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server built:          Sep 4 2018 22:28:22 UTC
一月 07, 2019 3:11:46 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Server number:         8.5.34.0
一月 07, 2019 3:11:46 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Name:               Windows 7
一月 07, 2019 3:11:46 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: OS Version:            6.1
一月 07, 2019 3:11:46 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Architecture:          amd64
一月 07, 2019 3:11:46 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Java Home:             C:\Program Files\Java\jdk1.8.0_191\jre
一月 07, 2019 3:11:46 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Version:           1.8.0_191-b12
一月 07, 2019 3:11:46 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: JVM Vendor:            Oracle Corporation
一月 07, 2019 3:11:46 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_BASE:         D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
一月 07, 2019 3:11:46 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: CATALINA_HOME:         E:\apache-tomcat-8.5.34
一月 07, 2019 3:11:46 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.base=D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0
一月 07, 2019 3:11:46 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dcatalina.home=E:\apache-tomcat-8.5.34
一月 07, 2019 3:11:46 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dwtp.deploy=D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps
一月 07, 2019 3:11:46 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Djava.endorsed.dirs=E:\apache-tomcat-8.5.34\endorsed
一月 07, 2019 3:11:46 下午 org.apache.catalina.startup.VersionLoggerListener log
信息: Command line argument: -Dfile.encoding=GBK
一月 07, 2019 3:11:46 下午 org.apache.catalina.core.AprLifecycleListener lifecycleEvent
信息: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [C:\Program Files\Java\jdk1.8.0_191\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre1.8.0_191/bin/server;C:/Program Files/Java/jre1.8.0_191/bin;C:/Program Files/Java/jre1.8.0_191/lib/amd64;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.8.0_191\bin;C:\Program Files\Java\jdk1.8.0_191\jre\bin;C:\Program Files\TortoiseSVN\bin;D:\apache-maven-3.6.0\bin\;E:\node\;E:\VSCodeSetup\Microsoft VS Code\bin;C:\Users\Administrator\AppData\Roaming\npm;D:\eclipse;;.]
一月 07, 2019 3:11:46 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["http-nio-8010"]
一月 07, 2019 3:11:46 下午 org.apache.tomcat.util.net.NioSelectorPool getSharedSelector
信息: Using a shared selector for servlet write/read
一月 07, 2019 3:11:46 下午 org.apache.coyote.AbstractProtocol init
信息: Initializing ProtocolHandler ["ajp-nio-8010"]
一月 07, 2019 3:11:46 下午 org.apache.catalina.core.StandardService initInternal
严重: Failed to initialize connector [Connector[AJP/1.3-8010]]
org.apache.catalina.LifecycleException: Failed to initialize component [Connector[AJP/1.3-8010]]
	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:112)
	at org.apache.catalina.core.StandardService.initInternal(StandardService.java:552)
	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
	at org.apache.catalina.core.StandardServer.initInternal(StandardServer.java:875)
	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
	at org.apache.catalina.startup.Catalina.load(Catalina.java:632)
	at org.apache.catalina.startup.Catalina.load(Catalina.java:655)
	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:498)
	at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:309)
	at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
Caused by: org.apache.catalina.LifecycleException: Protocol handler initialization failed
	at org.apache.catalina.connector.Connector.initInternal(Connector.java:995)
	at org.apache.catalina.util.LifecycleBase.init(LifecycleBase.java:107)
	... 12 more
Caused by: java.net.BindException: Address already in use: bind
	at sun.nio.ch.Net.bind0(Native Method)
	at sun.nio.ch.Net.bind(Net.java:433)
	at sun.nio.ch.Net.bind(Net.java:425)
	at sun.nio.ch.ServerSocketChannelImpl.bind(ServerSocketChannelImpl.java:223)
	at sun.nio.ch.ServerSocketAdaptor.bind(ServerSocketAdaptor.java:74)
	at org.apache.tomcat.util.net.NioEndpoint.bind(NioEndpoint.java:219)
	at org.apache.tomcat.util.net.AbstractEndpoint.init(AbstractEndpoint.java:1087)
	at org.apache.tomcat.util.net.AbstractJsseEndpoint.init(AbstractJsseEndpoint.java:265)
	at org.apache.coyote.AbstractProtocol.init(AbstractProtocol.java:581)
	at org.apache.catalina.connector.Connector.initInternal(Connector.java:993)
	... 13 more

一月 07, 2019 3:11:46 下午 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 595 ms
一月 07, 2019 3:11:46 下午 org.apache.catalina.core.StandardService startInternal
信息: Starting service [Catalina]
一月 07, 2019 3:11:46 下午 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/8.5.34
一月 07, 2019 3:11:47 下午 org.apache.jasper.servlet.TldScanner scanJars
信息: 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.
2019-1-7 15:11:47.197 INFO [localhost-startStop-1] Select SystemLog as Nutz.Log implement
2019-1-7 15:11:47.202 INFO [localhost-startStop-1] NutFilter[nutz] starting ...
2019-1-7 15:11:47.305 DEBUG [localhost-startStop-1] Locations for Scans:
[Dir[path=D:\eclipse], Jar[path=D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\nutz-1.r.60%20(4).jar], Jar[path=E:\apache-tomcat-8.5.34\bin\bootstrap.jar], Jar[path=E:\apache-tomcat-8.5.34\bin\tomcat-juli.jar], Jar[path=C:\Program Files\Java\jdk1.8.0_191\lib\tools.jar]]
2019-1-7 15:11:47.374 DEBUG [localhost-startStop-1] Locations for Scans:
{D:\eclipse=Dir[path=D:\eclipse], D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\nutz-1.r.60%20(4).jar=Jar[path=D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\nutz-1.r.60%20(4).jar], E:\apache-tomcat-8.5.34\bin\bootstrap.jar=Jar[path=E:\apache-tomcat-8.5.34\bin\bootstrap.jar], E:\apache-tomcat-8.5.34\bin\tomcat-juli.jar=Jar[path=E:\apache-tomcat-8.5.34\bin\tomcat-juli.jar], C:\Program Files\Java\jdk1.8.0_191\lib\tools.jar=Jar[path=C:\Program Files\Java\jdk1.8.0_191\lib\tools.jar], D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\classes=Dir[path=D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\classes], D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\nutz-1.r.60 (4).jar=Jar[path=D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\nutz-1.r.60 (4).jar], D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\druid-1.0.9.jar=Jar[path=D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\druid-1.0.9.jar], D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\mysql-connector-java-8.0.13.jar=Jar[path=D:\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\nutzbook\WEB-INF\lib\mysql-connector-java-8.0.13.jar]}
2019-1-7 15:11:47.441 DEBUG [localhost-startStop-1] Using 95 castor for Castors
一月 07, 2019 3:11:47 下午 org.apache.catalina.core.StandardContext filterStart
严重: Exception starting filter [nutz]
org.nutz.mvc.NutConfigException: java.lang.ClassNotFoundException: net.wendal.nutzbook.MainModule
	at org.nutz.mvc.config.AbstractNutConfig.getMainModule(AbstractNutConfig.java:134)
	at org.nutz.mvc.config.AbstractNutConfig.createLoading(AbstractNutConfig.java:51)
	at org.nutz.mvc.ActionHandler.<init>(ActionHandler.java:18)
	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:285)
	at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:266)
	at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:108)
	at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4637)
	at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5282)
	at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1420)
	at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1410)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.ClassNotFoundException: net.wendal.nutzbook.MainModule
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1309)
	at org.apache.catalina.loader.WebappClassLoaderBase.loadClass(WebappClassLoaderBase.java:1137)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:264)
	at org.nutz.lang.Lang.loadClass(Lang.java:2022)
	at org.nutz.mvc.config.AbstractNutConfig.getMainModule(AbstractNutConfig.java:127)
	... 16 more

一月 07, 2019 3:11:47 下午 org.apache.catalina.core.StandardContext startInternal
严重: One or more Filters failed to start. Full details will be found in the appropriate container log file
一月 07, 2019 3:11:47 下午 org.apache.catalina.core.StandardContext startInternal
严重: Context [/nutzbook] startup failed due to previous errors
一月 07, 2019 3:11:47 下午 org.apache.coyote.AbstractProtocol start
信息: Starting ProtocolHandler ["http-nio-8010"]
一月 07, 2019 3:11:47 下午 org.apache.catalina.startup.Catalina start
信息: Server startup in 1177 ms

我关掉了另外一个项目的Tomcat了、然后我从新复制了一次上去呀

我关掉了另外个项目呀、他还是说我端口被占用了?

依然有其他程序占用了8080

常见的是oracle的一个http进程,访问一下127.0.0.1:8080

我查看了端口情况、没有8080呀、我没有装Oracle、只装了一个PLSQL远程连接服务器的端口号、,访问127.0.0.1:8080 是无法访问该网站

OK 问题解决了、是QQ占用了端口、、、然后eclipse出了bug、从新复制代码、再编译就行了

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