jeecg-framework3.4.3导入不成功
以Existing Projects into Workspace方式导入,然后在项目上右键使用Maven->Update Project将JRE改为1.6环境,Project Facets和Java Compiler也同时改为1.6
在整个项目属性中没有Deployment Assembly属性,所以Web Project Setting中无法设置Context root
也以maven方式导入过,但不能copy到工作空间,复制到工作空间直接导入,现象与上面的一样
导入方式错了吗?
pom.xml中的文件全部下载完成,没有报错情况,只有各别的报warn
在环境中多了个org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER,这个东东应该没用吧?
补充:
maven clean
maven install
结果:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Scanning for projects...
Some problems were encountered while building the effective model for org.jeecgframework:jeecg:war:3.4.3-GA
'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.poi:poi:jar -> duplicate declaration of version ${poi.version} @ line 659, column 15
It is highly recommended to fix these problems because they threaten the stability of your build.
For this reason, future Maven versions might no longer support building such malformed projects.
------------------------------------------------------------------------
Building jeecg 3.4.3-GA
------------------------------------------------------------------------
The POM for avalon-framework:avalon-framework-api:jar:4.1.5-dev is missing, no dependency information available
The POM for org.apache.cocoon:cocoon-xml-api:jar:1.0.0 is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
--- maven-resources-plugin:2.5:resources (default-resources) @ jeecg ---
execute contextualize
Using 'UTF-8' encoding to copy filtered resources.
Copying 31 resources
Copying 53 resources
--- maven-compiler-plugin:2.3.2:compile (default-compile) @ jeecg ---
Nothing to compile - all classes are up to date
--- maven-resources-plugin:2.5:testResources (default-testResources) @ jeecg ---
execute contextualize
Using 'UTF-8' encoding to copy filtered resources.
Copying 0 resource
Copying 0 resource
--- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ jeecg ---
Nothing to compile - all classes are up to date
--- maven-surefire-plugin:2.10:test (default-test) @ jeecg ---
Surefire report directory: E:\_work\javawork\jeecg\jeecg-framework\target\surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Results :
Tests run: 0, Failures: 0, Errors: 0, Skipped: 0
--- maven-war-plugin:2.1.1:war (default-war) @ jeecg ---
Packaging webapp
Assembling webapp in
Processing war project
Copying webapp resources
Webapp assembled in
Building war: E:\_work\javawork\jeecg\jeecg-framework\target\jeecg.war
Warning: selected war files include a WEB-INF/web.xml which will be ignored
(webxml attribute is missing from war task, or ignoreWebxml attribute is specified as 'true')
--- maven-install-plugin:2.3.1:install (default-install) @ jeecg ---
Installing E:\_work\javawork\jeecg\jeecg-framework\target\jeecg.war to C:\Users\琰巅.live\.m2\repository\org\jeecgframework\jeecg\3.4.3-GA\jeecg-3.4.3-GA.war
Installing E:\_work\javawork\jeecg\jeecg-framework\pom.xml to C:\Users\琰巅.live\.m2\repository\org\jeecgframework\jeecg\3.4.3-GA\jeecg-3.4.3-GA.pom
------------------------------------------------------------------------
BUILD SUCCESS
------------------------------------------------------------------------
Total time: 22.346s
Finished at: Tue Feb 11 16:41:45 CST 2014
Final Memory: 10M/91M
------------------------------------------------------------------------ 执行没问题就可以了 就是执行不起来,报Tomcat version 6.0 only supports J2EE 1.2, 1.3, 1.4, and Java EE 5 Web modules。
新建一个MAVEN WEB项目,对比各属性,没什么差别,就是少了Deployment Assembly属性 Tomcat version 6.0 only supports J2EE 1.2, 1.3, 1.4, and Java EE 5 Web modules。
这个错误我改过来了,但还是没有Deployment Assembly属性
并且新建一个MAVEN项目,把SRC复制过来,运行不起来
页:
[1]