【发布时间】:2022-08-09 18:53:25
【问题描述】:
我关注了这个tutorial,但最后我得到了一个 404 Not Found。 http://localhost:8080/TomEE_war_exploded/
The requested resource [/TomEE_war_exploded/] is not available
在 Intellij 中,我看不到错误。 Apache Tomee 在 ~/software/apache-tomee-plume-8.0.11 的 windows 下运行,代码在 ~/playground/TomEE
不幸的是,我无法理解如何将 war 文件复制到 ~/software/apache-tomee-plume-8.0.11/webapps 目录或存在配置错误的位置。
从日志文件中,我不确定部署是否正确:
30-May-2022 16:49:53.486 WARNING [http-nio-8080-exec-4] org.apache.batchee.container.services.ServicesManager.init You didn\'t specify org.apache.batchee.jmx.application and JMX is already registered, skipping
30-May-2022 16:49:53.486 INFO [http-nio-8080-exec-4] org.apache.openejb.assembler.classic.Assembler.createApplication Deployed Application(path=/home/maggus/playground/TomEE/target/TomEE-1.0-SNAPSHOT)
30-May-2022 16:49:53.664 INFO [http-nio-8080-exec-4] 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.
[2022-05-30 04:49:53,804] Artifact TomEE:war exploded: Artifact is deployed successfully
[2022-05-30 04:49:53,804] Artifact TomEE:war exploded: Deploy took 823 milliseconds
有人看到错误吗?
谢谢, 马库斯
标签: intellij-idea apache-tomee tomee-8