« Return to Thread: Invalid final field ...DependencyInfo.dependency

Re: Invalid final field ...DependencyInfo.dependency

by Jesfre :: Rate this Message:

Reply to Author | View in Thread

Sorry...
I'm using:

Maven 2
JDK 1.4
App server Weblogic 8.1 SP3
Platform Linux


Jörg Schaible-2 wrote:
Hi,

Jesfre wrote at Freitag, 3. Juli 2009 01:05:

>
> Hi everyone...
> I have an error with this description... And I'm confused because I run
> ">mvn clean install" with SUCCESSFUL result but when I try to run it on
> the host of the customer the build fails... And, more rare, fails only
> with webapp submodules...

[snip]

> [INFO] Trace
> com.thoughtworks.xstream.converters.reflection.ObjectAccessException:
> Invalid final field
> org.apache.maven.plugin.war.util.DependencyInfo.dependency
>         at
>
com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.validateFieldAccess(Ljava.lang.reflect.Field;)V(PureJavaReflectionProvider.java:161)
>         at
>
com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(Ljava.lang.Object;Lcom.thoughtworks.xstream.converters.reflection.ReflectionProvider$Visitor;)V(PureJavaReflectionProvider.java:114)
>         at
>
com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMarshal(Ljava.lang.Object;Lcom.thoughtworks.xstream.io.HierarchicalStreamWriter;Lcom.thoughtworks.xstream.converters.MarshallingContext;)V(AbstractReflectionConverter.java:51)

[snip]

Which JDK version of what vendor is on the host?

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org

 « Return to Thread: Invalid final field ...DependencyInfo.dependency