麻烦帮忙看看是什么问题,谢谢了
G:\apache-tomcat-8.5.40\bin\catalina.bat run
[2019-05-10 11:41:30,444] Artifact sm_web:war: Waiting for server connection to start artifact deployment...
Using CATALINA_BASE: "C:\Users\kennn\.IntelliJIdea2019.1\system\tomcat\_sm"
Using CATALINA_HOME: "G:\apache-tomcat-8.5.40"
Using CATALINA_TMPDIR: "G:\apache-tomcat-8.5.40\temp"
Using JRE_HOME: "C:\Program Files\Java\jdk1.8.0_201"
Using CLASSPATH: "G:\apache-tomcat-8.5.40\bin\bootstrap.jar;G:\apache-tomcat-8.5.40\bin\tomcat-juli.jar"
10-May-2019 23:41:32.962 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/8.5.40
10-May-2019 23:41:32.971 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Server built: Apr 10 2019 14:31:19 UTC
10-May-2019 23:41:32.971 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Server number: 8.5.40.0
10-May-2019 23:41:32.971 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name: Windows 10
10-May-2019 23:41:32.971 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version: 10.0
10-May-2019 23:41:32.971 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture: amd64
10-May-2019 23:41:32.971 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home: C:\Program Files\Java\jdk1.8.0_201\jre
10-May-2019 23:41:32.972 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version: 1.8.0_201-b09
10-May-2019 23:41:32.972 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor: Oracle Corporation
10-May-2019 23:41:32.972 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE: C:\Users\kennn\.IntelliJIdea2019.1\system\tomcat\_sm
10-May-2019 23:41:32.972 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME: G:\apache-tomcat-8.5.40
10-May-2019 23:41:32.973 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=C:\Users\kennn\.IntelliJIdea2019.1\system\tomcat\_sm\conf\logging.properties
10-May-2019 23:41:32.973 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
10-May-2019 23:41:32.973 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote=
10-May-2019 23:41:32.973 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1099
10-May-2019 23:41:32.974 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false
10-May-2019 23:41:32.974 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.password.file=C:\Users\kennn\.IntelliJIdea2019.1\system\tomcat\_sm\jmxremote.password
10-May-2019 23:41:32.974 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.access.file=C:\Users\kennn\.IntelliJIdea2019.1\system\tomcat\_sm\jmxremote.access
10-May-2019 23:41:32.975 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.1
10-May-2019 23:41:32.975 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
10-May-2019 23:41:32.975 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
10-May-2019 23:41:32.975 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
10-May-2019 23:41:32.975 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=C:\Users\kennn\.IntelliJIdea2019.1\system\tomcat\_sm
10-May-2019 23:41:32.976 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=G:\apache-tomcat-8.5.40
10-May-2019 23:41:32.976 淇℃伅 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=G:\apache-tomcat-8.5.40\temp
10-May-2019 23:41:32.976 淇℃伅 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library [1.2.21] using APR version [1.6.5].
10-May-2019 23:41:32.977 淇℃伅 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
10-May-2019 23:41:32.977 淇℃伅 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
10-May-2019 23:41:32.987 淇℃伅 [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized [OpenSSL 1.1.1a 20 Nov 2018]
10-May-2019 23:41:33.382 淇℃伅 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
10-May-2019 23:41:33.425 淇℃伅 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
10-May-2019 23:41:33.453 淇℃伅 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
10-May-2019 23:41:33.460 淇℃伅 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
10-May-2019 23:41:33.461 淇℃伅 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1364 ms
10-May-2019 23:41:33.504 淇℃伅 [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
10-May-2019 23:41:33.504 淇℃伅 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.5.40
10-May-2019 23:41:33.527 淇℃伅 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
10-May-2019 23:41:33.545 淇℃伅 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
10-May-2019 23:41:33.551 淇℃伅 [main] org.apache.catalina.startup.Catalina.start Server startup in 89 ms
Connected to server
[2019-05-10 11:41:33,700] Artifact sm_web:war: Artifact is being deployed, please wait...
10-May-2019 23:41:37.256 淇℃伅 [RMI TCP Connection(2)-127.0.0.1] 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-05-10 11:41:37,378] Artifact sm_web:war: Artifact is deployed successfully
[2019-05-10 11:41:37,379] Artifact sm_web:war: Deploy took 3,678 milliseconds
10-May-2019 23:41:43.535 淇℃伅 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [G:\apache-tomcat-8.5.40\webapps\manager]
10-May-2019 23:41:43.635 淇℃伅 [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [G:\apache-tomcat-8.5.40\webapps\manager] has finished in [99] ms
正在回答
同学你好。请问同学是哪个页面报错了呢?test/show.do吗?
404一般是由于访问地址不对造成的,已经配置了Application Context 或者HTTP port,但是却没有按照对应路径访问。同学可以打开Edit Configurations... :
使用这个位置的URL访问:
如果确认上面的访问基础路径是对的,请同学提供404页面的浏览器截图,包括地址栏。以及项目的结构目录(展开)截图。然后,将对应页面的代码,复制粘贴出来。我们这边才好定位问题。
祝学习愉快~
同学你好。对于报错,我们首先要学会查看报错信息。以便进一步定位问题,寻找解决方案。
HTTP Status 500 – Internal Server Error Type Exception Report Message No bean named 'selfController' is defined .Description The server encountered an unexpected condition that prevented it from fulfilling the request.
试着翻译一下,大体意思是:HTTP状态500-内部服务器错误类型异常 报告消息:未定义名为“self Controller”的bean。说明服务器遇到意外情况,无法满足请求。
所以是selfController没有配置好,请同学检查一下注解,检查一下老师教授的配置是否正常配置哦。
如果解答了同学的疑问,望采纳~
祝学习愉快~
- 参与学习 人
- 提交作业 205 份
- 解答问题 4317 个
Java中非常实用的SSM整合开发内容,从Spring开始,到MyBaits的进阶内容,再到SpringMVC的应用,最后是SSM整合开发案例,逐步深入,助你成长为一名Java工程师!
了解课程
恭喜解决一个难题,获得1积分~
来为老师/同学的回答评分吧
0 星