各位大神,我按照 git 上的安装方法进行部署将 mvn install 构建后的 war 文件解压到以 oneinstack 为构建的 java 环境中,访问页面只有“## Hello World!”求解。
求解 symphony 部署问题
相关帖子
-
-
wang259797 •作者
不过在 mvn install 构建刚开始 报错,不知道是不是和这个有关:
C:\Users\Norman\wangchong>mvn install
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.b3log:symphony:war:1.7.0
[WARNING] 'dependencies.dependency.systemPath' for org.patchca:patchca:jar should not point at files within the project directory, ${project.basedir}/src/main/resources/lib/net/pusuo/patchca-0.5.0.jar will be unresolvable by dependent projects @ line 230, column 25
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Symphony 1.7.0
[INFO] ------------------------------------------------------------------------
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.7/maven-resources-plugin-2.7.pom -
-
-
-
-
-
-
-
-
-
wang259797 •作者
主要是 mvn install 构建出来就有 index.jsp 代码:
<html> <body> <h2>Hello World!</h2> </body> </html>
-
-
wang259797 •作者
重新构建 index.jsp 没有了 确认是我之前操作问题,但访问出现# HTTP Status 404 - /,日志:
127.0.0.1 - - [08/Dec/2016:13:51:48 +0800] "GET / HTTP/1.0" 404 923
127.0.0.1 - - [08/Dec/2016:13:57:18 +0800] "GET / HTTP/1.0" 200 57
127.0.0.1 - - [08/Dec/2016:13:57:48 +0800] "GET / HTTP/1.0" 200 57
127.0.0.1 - - [08/Dec/2016:14:04:24 +0800] "GET /index.jsp HTTP/1.0" 200 57
127.0.0.1 - - [08/Dec/2016:14:55:10 +0800] "GET / HTTP/1.0" 200 57
127.0.0.1 - - [08/Dec/2016:15:21:05 +0800] "GET / HTTP/1.0" 200 57
127.0.0.1 - - [08/Dec/2016:15:52:33 +0800] "GET / HTTP/1.0" 404 923
127.0.0.1 - - [08/Dec/2016:15:53:00 +0800] "GET /halt.html HTTP/1.0" 200 23820 -
wang259797 •作者
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.
Dec 08, 2016 4:20:52 PM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '0' did not find a matching property.
Dec 08, 2016 4:20:53 PM org.apache.catalina.core.AprLifecycleListener initializeSSL
INFO: OpenSSL successfully initialized with version OpenSSL 1.0.1e 11 Feb 2013
Dec 08, 2016 4:20:53 PM org.apache.coyote.http11.Http11AprProtocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
Dec 08, 2016 4:20:53 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 2597 ms
Dec 08, 2016 4:20:53 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Dec 08, 2016 4:20:53 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Tomcat
Dec 08, 2016 4:20:54 PM org.apache.catalina.loader.WebappClassLoader validateJarFile
INFO: validateJarFile(/data/wwwroot/www.wangchong.ren/WEB-INF/lib/javax.servlet-api-3.1.0.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class1 回复 -
-
-
欢迎来到这里!
我们正在构建一个小众社区,大家在这里相互信任,以平等 • 自由 • 奔放的价值观进行分享交流。最终,希望大家能够找到与自己志同道合的伙伴,共同成长。
注册 关于