ysc/APDPlat

请问我的开发平台启动时,无法发布maven工程到tomcat是什么原因呢?

ssuhvs opened this issue · 2 comments

您好,我想用一下您的开发平台,但是一直没成功,

我的操作系统是mac OS X 10.8 ,下载到您的开发平台后无法启动成功:报错如下:能否给提示一下问题所在,谢谢 !

cd /Users/ssz/work_jee/APDPlat/APDPlat_Web; JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_45.jdk/Contents/Home "/Applications/NetBeans/NetBeans 7.4.app/Contents/Resources/NetBeans/java/maven/bin/mvn" -Dnetbeans.deploy=true package
Scanning for projects...


Building APDPlat_Web 2.5

The POM for milyn:flute:jar:1.3 is missing, no dependency information available

--- maven-resources-plugin:2.6:resources (default-resources) @ APDPlat_Web ---
Using 'UTF-8' encoding to copy filtered resources.
Copying 62 resources

--- maven-compiler-plugin:3.0:compile (default-compile) @ APDPlat_Web ---
Nothing to compile - all classes are up to date

--- wro4j-maven-plugin:1.7.0:run (default) @ APDPlat_Web ---
Executing the mojo:
Wro4j Model path: /Users/ssz/work_jee/APDPlat/APDPlat_Web/src/main/resources/wro4j_single_merge.xml
targetGroups: null
minimize: false
ignoreMissingResources: true
destinationFolder: /Users/ssz/work_jee/APDPlat/APDPlat_Web/src/main/webapp
jsDestinationFolder: null
cssDestinationFolder: null
groupNameMappingFile: null
wroManagerFactory class: org.apdplat.platform.wro4j.APDPlatWro4jSingleMergeManagerFactory
The following groups will be processed: [apdplat_merge, login_merge]
folder: /Users/ssz/work_jee/APDPlat/APDPlat_Web/src/main/webapp
processing group: apdplat_merge.css
originalName:apdplat_merge.css
originalName:platform/include/apdplat_merge.css
file size: apdplat_merge.css -> 146865 bytes
/Users/ssz/work_jee/APDPlat/APDPlat_Web/src/main/webapp/platform/include/apdplat_merge.css (146865 bytes)
folder: /Users/ssz/work_jee/APDPlat/APDPlat_Web/src/main/webapp
processing group: apdplat_merge.js
originalName:apdplat_merge.js
originalName:platform/include/apdplat_merge.js
file size: apdplat_merge.js -> 1688723 bytes
/Users/ssz/work_jee/APDPlat/APDPlat_Web/src/main/webapp/platform/include/apdplat_merge.js (1688723 bytes)
folder: /Users/ssz/work_jee/APDPlat/APDPlat_Web/src/main/webapp
processing group: login_merge.css
originalName:login_merge.css
originalName:css/login_merge.css
file size: login_merge.css -> 118846 bytes
/Users/ssz/work_jee/APDPlat/APDPlat_Web/src/main/webapp/css/login_merge.css (118846 bytes)
folder: /Users/ssz/work_jee/APDPlat/APDPlat_Web/src/main/webapp
processing group: login_merge.js
originalName:login_merge.js
originalName:js/login_merge.js
file size: login_merge.js -> 789846 bytes
/Users/ssz/work_jee/APDPlat/APDPlat_Web/src/main/webapp/js/login_merge.js (789846 bytes)

--- maven-resources-plugin:2.6:testResources (default-testResources) @ APDPlat_Web ---
Using 'UTF-8' encoding to copy filtered resources.
skip non existing resourceDirectory /Users/ssz/work_jee/APDPlat/APDPlat_Web/src/test/resources

--- maven-compiler-plugin:3.0:testCompile (default-testCompile) @ APDPlat_Web ---
No sources to compile

--- maven-surefire-plugin:2.14:test (default-test) @ APDPlat_Web ---

--- maven-war-plugin:2.1.1:war (default-war) @ APDPlat_Web ---
Packaging webapp
Assembling webapp [APDPlat_Web] in [/Users/ssz/work_jee/APDPlat/APDPlat_Web/target/APDPlat_Web-2.5]
Processing war project
Copying webapp resources [/Users/ssz/work_jee/APDPlat/APDPlat_Web/src/main/webapp]
Webapp assembled in [6745 msecs]
Building war: /Users/ssz/work_jee/APDPlat/APDPlat_Web/target/APDPlat_Web-2.5.war
WEB-INF/web.xml already added, skipping

maven-source-plugin:2.2.1:jar (attach-sources) @ APDPlat_Web >>>

<<< maven-source-plugin:2.2.1:jar (attach-sources) @ APDPlat_Web <<<

--- maven-source-plugin:2.2.1:jar (attach-sources) @ APDPlat_Web ---

BUILD SUCCESS

Total time: 34.853s
Finished at: Wed Dec 25 11:14:49 CST 2013

Final Memory: 36M/506M

NetBeans: Deploying on Apache Tomcat
profile mode: false
debug mode: false
force redeploy: true
正在取消部署...
undeploy?path=/APDPlat_Web
OK - Undeployed application at context path /APDPlat_Web
就地在/Users/ssz/work_jee/APDPlat/APDPlat_Web/target/APDPlat_Web-2.5中部署
正在部署...
deploy?config=file%3A%2Fvar%2Ffolders%2Fc0%2Fzz1zndc563z1qt37fsc37qb40000gn%2FT%2Fcontext7951746388064774926.xml&path=/APDPlat_Web

ysc commented

当在netbeans中使用“运行”命令时,netbeans在成功启动web之后会停止并再次重新启动。即:force redeploy: true,所以在开发的时候,除了第一次使用netbeans的“运行”命令,之后就没必要了,构建项目之后,直接启动JAVA EE服务器即可。

非常感谢
2014年1月31日 上午2:56于 "杨尚川" notifications@github.com写道:

当在netbeans中使用“运行”命令时,netbeans在成功启动web之后会停止并再次重新启动。即:force redeploy:
true,所以在开发的时候,除了第一次使用netbeans的“运行”命令,之后就没必要了,构建项目之后,直接启动JAVA EE服务器即可。


Reply to this email directly or view it on GitHubhttps://github.com//issues/47#issuecomment-33720223
.