Hallo Community,
erst einmal Hallo - ich bin hier neu bei euch und habe auch schon gleiche eine Frage zu einem Problem, welches ich nicht gelöst bekomme.
Vorne weg muss ich sagen, dass mein Projekt vor einer Woche mit den gleichen Einstellungen builden konnte und auch andere dies machen können, bloss seit dem ich mein komplettes Betriebssystem, und somit auch den Rest, neu aufgesetzt habe, geht nix mehr.
Wie der Titel schon sagt, kann ich mein Projekt nicht mehr builden. Maven spuckt mir immer folgenden Log aus. Ich nutze Eclipse mit m2eclipse, aber habe auch schon Maven 2.2.1 standalone ausprobiert.
Der Log:
Ich habe auch schon mein lokales Repository von Maven gelöscht und versucht alle Ressources neuzuladen, aber es kommt das gleiche Problem.
Könnte ihr mir weiterhelfen? Zumal das alles vor einer Woche bei meinem alten System noch geklappt hat. ;(
NACHTRAG: Die betroffenen jar-Files lassen sich auch nicht mit WinRAR öffnen. Sie sind beschädigt. Wie kann denn das sein?
erst einmal Hallo - ich bin hier neu bei euch und habe auch schon gleiche eine Frage zu einem Problem, welches ich nicht gelöst bekomme.
Vorne weg muss ich sagen, dass mein Projekt vor einer Woche mit den gleichen Einstellungen builden konnte und auch andere dies machen können, bloss seit dem ich mein komplettes Betriebssystem, und somit auch den Rest, neu aufgesetzt habe, geht nix mehr.
Wie der Titel schon sagt, kann ich mein Projekt nicht mehr builden. Maven spuckt mir immer folgenden Log aus. Ich nutze Eclipse mit m2eclipse, aber habe auch schon Maven 2.2.1 standalone ausprobiert.
Der Log:
Code:
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building CIS
[INFO] task-segment: [org.apache.maven.plugins:maven-clean-plugin:2.3:clean,
compile, org.apache.maven.plugins:maven-dependency-plugin:2.1:list, org.apache.a
xis2:axis2-aar-maven-plugin:1.4:aar]
[INFO] ------------------------------------------------------------------------
[INFO] [clean:clean {execution: default-cli}]
[INFO] Deleting file set: C:\Users\Robert\Studium\shk - CRUISe\space\CIS\target
(included: [**], excluded: [])
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (Cp1252 actually) to copy filtered resources,
i.e. build is platform dependent!
[INFO] Copying 1 resource
[WARNING] POM for 'org.apache.ws.commons.axiom:axiom-api:pom:1.2.7:compile' is i
nvalid.
Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.apache.maven:maven-plugin-api:pom:2.0.7:compile' is inval
id.
Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.apache.maven:maven-project:pom:2.0.7:compile' is invalid.
Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'commons-httpclient:commons-httpclient:pom:3.1:compile' is inv
alid.
Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.codehaus.woodstox:wstx-asl:pom:3.2.4:compile' is invalid.
Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.apache.ws.commons.axiom:axiom-impl:pom:1.2.7:compile' is
invalid.
Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.apache.ws.commons.axiom:axiom-dom:pom:1.2.7:compile' is i
nvalid.
Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'javax.mail:mail:pom:1.4:compile' is invalid.
Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'xalan:xalan:pom:2.7.0:compile' is invalid.
Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:pom:1.0.
1:compile' is invalid.
Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'xerces:xercesImpl:pom:2.8.1:compile' is invalid.
Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'commons-io:commons-io:pom:1.4:compile' is invalid.
Its dependencies (if any) will NOT be available to the current build.
[WARNING] POM for 'org.codehaus.plexus:plexus-utils:pom:1.4.9:compile' is invali
d.
Its dependencies (if any) will NOT be available to the current build.
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Compiling 42 source files to C:\Users\Robert\Studium\shk - CRUISe\space\C
IS\target\classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
error: error reading C:\Users\Robert\.m2\repository\org\apache\ws\commons\axiom\
axiom-api\1.2.7\axiom-api-1.2.7.jar; error in opening zip file
error: error reading C:\Users\Robert\.m2\repository\org\apache\maven\maven-plugi
n-api\2.0.7\maven-plugin-api-2.0.7.jar; error in opening zip file
error: error reading C:\Users\Robert\.m2\repository\org\apache\maven\maven-proje
ct\2.0.7\maven-project-2.0.7.jar; error in opening zip file
error: error reading C:\Users\Robert\.m2\repository\org\apache\axis2\axis2-codeg
en\1.4\axis2-codegen-1.4.jar; error in opening zip file
error: error reading C:\Users\Robert\.m2\repository\org\apache\axis2\axis2-kerne
l\1.4\axis2-kernel-1.4.jar; error in opening zip file
error: error reading C:\Users\Robert\.m2\repository\javax\servlet\servlet-api\2.
3\servlet-api-2.3.jar; error in opening zip file
error: error reading C:\Users\Robert\.m2\repository\commons-httpclient\commons-h
ttpclient\3.1\commons-httpclient-3.1.jar; error in opening zip file
error: error reading C:\Users\Robert\.m2\repository\commons-fileupload\commons-f
ileupload\1.2\commons-fileupload-1.2.jar; error in opening zip file
error: error reading C:\Users\Robert\.m2\repository\org\apache\httpcomponents\ht
tpcore\4.0-beta1\httpcore-4.0-beta1.jar; error in opening zip file
error: error reading C:\Users\Robert\.m2\repository\org\apache\httpcomponents\ht
tpcore-nio\4.0-beta1\httpcore-nio-4.0-beta1.jar; error in opening zip file
error: error reading C:\Users\Robert\.m2\repository\backport-util-concurrent\bac
kport-util-concurrent\3.1\backport-util-concurrent-3.1.jar; error in opening zip
file
error: error reading C:\Users\Robert\.m2\repository\org\codehaus\woodstox\wstx-a
sl\3.2.4\wstx-asl-3.2.4.jar; error in opening zip file
error: error reading C:\Users\Robert\.m2\repository\org\apache\ws\commons\schema
\XmlSchema\1.4.2\XmlSchema-1.4.2.jar; error in opening zip file
error: error reading C:\Users\Robert\.m2\repository\org\apache\neethi\neethi\2.0
.4\neethi-2.0.4.jar; error in opening zip file
error: error reading C:\Users\Robert\.m2\repository\org\apache\ws\commons\axiom\
axiom-impl\1.2.7\axiom-impl-1.2.7.jar; error in opening zip file
error: error reading C:\Users\Robert\.m2\repository\commons-logging\commons-logg
ing\1.1.1\commons-logging-1.1.1.jar; error in opening zip file
error: error reading C:\Users\Robert\.m2\repository\org\apache\woden\woden-api\1
.0M8\woden-api-1.0M8.jar; error in opening zip file
error: error reading C:\Users\Robert\.m2\repository\org\apache\ant\ant\1.7.0\ant
-1.7.0.jar; error in opening zip file
error: error reading C:\Users\Robert\.m2\repository\org\apache\ant\ant-launcher\
1.7.0\ant-launcher-1.7.0.jar; error in opening zip file
error: error reading C:\Users\Robert\.m2\repository\org\apache\woden\woden-impl-
dom\1.0M8\woden-impl-dom-1.0M8.jar; error in opening zip file
error: error reading C:\Users\Robert\.m2\repository\annogen\annogen\0.1.0\annoge
n-0.1.0.jar; error in opening zip file
error: error reading C:\Users\Robert\.m2\repository\org\apache\geronimo\specs\ge
ronimo-jms_1.1_spec\1.1\geronimo-jms_1.1_spec-1.1.jar; error in opening zip file
error: error reading C:\Users\Robert\.m2\repository\org\apache\ws\commons\axiom\
axiom-dom\1.2.7\axiom-dom-1.2.7.jar; error in opening zip file
error: error reading C:\Users\Robert\.m2\repository\javax\mail\mail\1.4\mail-1.4
.jar; error in opening zip file
error: error reading C:\Users\Robert\.m2\repository\xalan\xalan\2.7.0\xalan-2.7.
0.jar; error in opening zip file
error: error reading C:\Users\Robert\.m2\repository\org\apache\geronimo\specs\ge
ronimo-stax-api_1.0_spec\1.0.1\geronimo-stax-api_1.0_spec-1.0.1.jar; error in op
ening zip file
error: error reading C:\Users\Robert\.m2\repository\xerces\xercesImpl\2.8.1\xerc
esImpl-2.8.1.jar; error in opening zip file
error: error reading C:\Users\Robert\.m2\repository\commons-io\commons-io\1.4\co
mmons-io-1.4.jar; error in opening zip file
error: error reading C:\Users\Robert\.m2\repository\org\apache\axis2\axis2-adb\1
.4\axis2-adb-1.4.jar; error in opening zip file
error: error reading C:\Users\Robert\.m2\repository\org\apache\geronimo\specs\ge
ronimo-activation_1.1_spec\1.0.1\geronimo-activation_1.1_spec-1.0.1.jar; error i
n opening zip file
error: error reading C:\Users\Robert\.m2\repository\org\apache\axis2\axis2-adb-c
odegen\1.4\axis2-adb-codegen-1.4.jar; error in opening zip file
error: error reading C:\Users\Robert\.m2\repository\org\apache\axis2\axis2-java2
wsdl\1.4\axis2-java2wsdl-1.4.jar; error in opening zip file
error: error reading C:\Users\Robert\.m2\repository\org\apache\geronimo\specs\ge
ronimo-javamail_1.4_spec\1.2\geronimo-javamail_1.4_spec-1.2.jar; error in openin
g zip file
error: error reading C:\Users\Robert\.m2\repository\jaxen\jaxen\1.1.1\jaxen-1.1.
1.jar; error in opening zip file
error: error reading C:\Users\Robert\.m2\repository\org\apache\axis2\axis2-xmlbe
ans\1.4\axis2-xmlbeans-1.4.jar; error in opening zip file
error: error reading C:\Users\Robert\.m2\repository\org\apache\xmlbeans\xmlbeans
\2.3.0\xmlbeans-2.3.0.jar; error in opening zip file
error: error reading C:\Users\Robert\.m2\repository\org\codehaus\jettison\jettis
on\1.0-RC2\jettison-1.0-RC2.jar; error in opening zip file
error: error reading C:\Users\Robert\.m2\repository\org\apache\axis2\axis2-saaj-
api\1.4.1\axis2-saaj-api-1.4.1.jar; error in opening zip file
[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Compilation failure
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:715)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLi
fecycle(DefaultLifecycleExecutor.java:556)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(Defau
ltLifecycleExecutor.java:535)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHan
dleFailures(DefaultLifecycleExecutor.java:387)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmen
ts(DefaultLifecycleExecutor.java:348)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLi
fecycleExecutor.java:180)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
at org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:6
0)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.plugin.CompilationFailureException: Compilation fail
ure
at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompiler
Mojo.java:516)
at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPlugi
nManager.java:490)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Defa
ultLifecycleExecutor.java:694)
... 17 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2 seconds
[INFO] Finished at: Tue Jan 05 08:55:31 CET 2010
[INFO] Final Memory: 15M/28M
[INFO] ------------------------------------------------------------------------
Ich habe auch schon mein lokales Repository von Maven gelöscht und versucht alle Ressources neuzuladen, aber es kommt das gleiche Problem.
Könnte ihr mir weiterhelfen? Zumal das alles vor einer Woche bei meinem alten System noch geklappt hat. ;(
NACHTRAG: Die betroffenen jar-Files lassen sich auch nicht mit WinRAR öffnen. Sie sind beschädigt. Wie kann denn das sein?
Zuletzt bearbeitet: