Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

可以运行啦 #42

Open
Phoenix-Nrvn opened this issue Apr 23, 2022 · 4 comments
Open

可以运行啦 #42

Phoenix-Nrvn opened this issue Apr 23, 2022 · 4 comments

Comments

@Phoenix-Nrvn
Copy link

Phoenix-Nrvn commented Apr 23, 2022

  1. 要修改pom.xml,保证静态资源可以顺利导出
  2. 要修改IDEA中Tomcat配置的Deployment中的Application Context为 /
@loveeattofu
Copy link

-Jun-2022 17:11:38.051 信息 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars 至少有一个JAR被扫描用于TLD但尚未包含TLD。 为此记录器启用调试日志记录,以获取已扫描但未在其中找到TLD的完整JAR列表。 在扫描期间跳过不需要的JAR可以缩短启动时间和JSP编译时间。
log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
18-Jun-2022 17:11:38.369 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal 一个或多个筛选器启动失败。完整的详细信息将在相应的容器日志文件中找到
18-Jun-2022 17:11:38.369 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal 由于之前的错误,Context[/Examination_System_master_war_exploded]启动失败

我把错的都改了,为什么还是报这个错

@Phoenix-Nrvn
Copy link
Author

-Jun-2022 17:11:38.051 信息 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars 至少有一个JAR被扫描用于TLD但尚未包含TLD。 为此记录器启用调试日志记录,以获取已扫描但未在其中找到TLD的完整JAR列表。 在扫描期间跳过不需要的JAR可以缩短启动时间和JSP编译时间。 log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. 18-Jun-2022 17:11:38.369 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal 一个或多个筛选器启动失败。完整的详细信息将在相应的容器日志文件中找到 18-Jun-2022 17:11:38.369 严重 [RMI TCP Connection(3)-127.0.0.1] org.apache.catalina.core.StandardContext.startInternal 由于之前的错误,Context[/Examination_System_master_war_exploded]启动失败

我把错的都改了,为什么还是报这个错

你好,运行成功了吗?可能是IDEA中File->ProjectSettings->Artifacts->Output Layout里边需要自己手动导入lib,我之前也遇到过这种情况

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@loveeattofu @Phoenix-Nrvn and others