我使用以下命令创建了一个项目
mvn archetype:generate -B -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-light-spring-security-archetype -DarchetypeVersion=2.2.1 -DgroupId=com.app.PROJECT1 -DartifactId=PROJECT1 -DarchetypeRepository= https:// /oss.sonatype.org/content/repositories/appfuse
然后我在输入后在eclipse中打开它mvn eclipse:eclipse
。
在 pom.xml 我看到以下错误,我该如何解决这个问题。
1.
- Multiple annotations found at this line:
- Plugin execution not covered by lifecycle configuration:
org.apache.maven.plugins:maven-resources-plugin:2.5:testResources (execution: default-
testResources, phase: process-test-resources)
- Plugin execution not covered by lifecycle configuration:
org.apache.maven.plugins:maven-resources-plugin:2.5:resources (execution: default-
resources, phase: process-resources)
2.
- cution not covered by lifecycle configuration: org.codehaus.mojo:dbunit-
maven-plugin:1.0-beta-3:operation (execution: test-compile, phase: test-compile)
3.
- Plugin execution not covered by lifecycle configuration:
org.codehaus.mojo:hibernate3-maven-plugin:2.2:hbm2ddl (execution: default, phase:
process-test-resources)
4.
- Multiple annotations found at this line:
- Plugin execution not covered by lifecycle configuration:
org.apache.maven.plugins:maven-compiler-plugin:2.4:testCompile (execution: default-
testCompile, phase: test-compile)
- Plugin execution not covered by lifecycle configuration:
org.apache.maven.plugins:maven-compiler-plugin:2.4:compile (execution: default-compile,
phase: compile)
5.
Plugin execution not covered by lifecycle configuration: org.zeroturnaround:javarebel-
maven-plugin:1.0.5:generate (execution: generate-rebel-xml, phase: process-resources)
问题2。
当我在 localhost 中运行它时,我在下面包含了应用程序的屏幕截图,但我没有看到 CSS 在这里工作,因为 UI 很乱。我该如何解决这个问题?
问题 3。
全新安装时出现以下错误
[ERROR] Failed to execute goal org.codehaus.mojo:dbunit-maven-plugin:1.0-beta-3:operation (test-compile) on project PROJECT1: Error executing database operation: CLEAN_INSERT: Database may be already in use: "Locked by another process". Possible solutions: close all other connection(s); use the server mode [90020-170] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:dbunit-maven-plugin:1.0-beta-3:operation (test-compile) on project PROJECT1: Error executing database operation: CLEAN_INSERT