[Geoserver-users] error while "mvn compile"

I changed to 1.6.x branch but my next error appears:

[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 67 source files to G:\my_geoserver\geoserver\ows\target\classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
error: error reading C:\Documents and Settings\stefan.m2\repository\jaxb\jaxb-libs\1.3\jaxb-libs-1.3.jar; error in opening zip file

error: error reading C:\Documents and Settings\stefan.m2\repository\jaxb\jaxb-libs\1.3\jaxb-libs-1.3.jar; error in opening zip file

[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Compilation failure
error: error reading C:\Documents and Settings\stefan.m2\repository\jaxb\jaxb-libs\1.3\jaxb-libs-1.3.jar; error in opening zip file

at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:560)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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 failure
error: error reading C:\Documents and Settings\stefan.m2\repository\jaxb\jaxb-libs\1.3\jaxb-libs-1.3.jar; error in opening zip file

at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)
at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
… 16 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8 seconds
[INFO] Finished at: Mon Jan 28 19:50:36 CET 2008
[INFO] Final Memory: 13M/25M
[INFO] ------------------------------------------------------------------------

regards
Stefan

-----Ursprüngliche Nachricht-----
Von: Justin Deoliveira [mailto:jdeolive@anonymised.com]
Gesendet am: Montag, 28. Januar 2008 03:28
An: Ziegler Stefan
Cc: geoserver-users@lists.sourceforge.net
Betreff: Re: [Geoserver-users] error while “mvn compile”

Hi Stefan,

This should be fixed now. If you working with geotools from sources, svn
update and rebuild it. If not not build GeoServer with -U and it should
be fixed.

Also, I am not sure what your requirements are but you may find the
1.6.x branch more stable than trunk… which is a bit of a moving target
these days.

-Justin

Ziegler Stefan wrote:

Hi
following
the developers guide documentation I get an error while compiling the
dependencies with maven:

[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 16 source files to G:\my_geoserver\geoserver\main\target\classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure

G:\my_geoserver\geoserver\main\src\main\java\org\geotools\referencing\operation\projection\Mercator1SPGoogle.java:[17,7] org.geotools.referencing.operation.projection.Mercator1SPGoogle is not abstract and does not override abstract method inverse() in org.opengis.referencing.operation.MathTransform2D

G:\my_geoserver\geoserver\main\src\main\java\org\geotools\referencing\operation\projection\Mercator1SPGoogle.java:[46,25] org.geotools.referencing.operation.projection.Mercator1SPGoogle.Spherical is not abstract and does not override abstract method inverse() in org.opengis.referencing.operation.MathTransform2D

[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Compilation failure
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:560)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:333)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:126)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:282)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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 failure
at org.apache.maven.plugin.AbstractCompilerMojo.execute(AbstractCompilerMojo.java:516)
at org.apache.maven.plugin.CompilerMojo.execute(CompilerMojo.java:114)
at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:447)
at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
… 16 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9 seconds
[INFO] Finished at: Tue Jan 22 22:21:18 CET 2008
[INFO] Final Memory: 15M/29M
[INFO] ------------------------------------------------------------------------

Any ideas? thanks.
Stefan

Mit freundlichem
Gruss
Stefan
Ziegler
Leiter Aufsicht

Kanton
Solothurn
Bau- und
Justizdepartement
Amt für
Geoinformation
Rötistrasse
4
4501
Solothurn
Telefon 032 627 75
96
Telefax 032 627 75
98
stefan.ziegler@anonymised.com
http://www.so.ch


This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

!DSPAM:4007,479c2ef747391637810514!


Justin Deoliveira
The Open Planning Project
http://topp.openplans.org

Ziegler Stefan ha scritto:

I changed to 1.6.x branch but my next error appears:

[INFO] ------------------------------------------------------------------------
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:compile]
[INFO] Compiling 67 source files to G:\my_geoserver\geoserver\ows\target\classes
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Compilation failure
error: error reading C:\Documents and Settings\stefan\.m2\repository\jaxb\jaxb-libs\1.3\jaxb-libs-1.3.jar; error in opening zip file

error: error reading C:\Documents and Settings\stefan\.m2\repository\jaxb\jaxb-libs\1.3\jaxb-libs-1.3.jar; error in opening zip file

[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.BuildFailureException: Compilation failure
error: error reading C:\Documents and Settings\stefan\.m2\repository\jaxb\jaxb-libs\1.3\jaxb-libs-1.3.jar; error in opening zip file

This seems a corrupt jar, a hard disk problem, or a memory hardware problem. Let's hope for the first, try deleting

C:\Documents and
  Settings\stefan\.m2\repository\jaxb\jaxb-libs\1.3\jaxb-libs-1.3.jar

and rebuild.

Cheers
Andrea