Here's my environment:

Maven version: 2.2.0
Java version: 1.6.0_13
OS name: "linux" version: "2.4.21-58.el" arch: "i386" Family: "unix"
Apache Ant version 1.6.5 compiled on June 2 2005

I'm getting this error:

[INFO] Building trips-types
[INFO] task-segment: [install]
[INFO]
------------------------------------------------------------------------
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered
resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory
/dataarea1/users/builder/TRIPS2/Dev/Java/Projects/trips-types/src/META-INF
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] An Ant BuildException has occured: java.lang.IllegalAccessError:
tried to access method
org.apache.tools.ant.launch.Locator.decodeUri(Ljava/lang/String;)Ljava/lang/String;
from class org.apache.tools.ant.AntClassLoader

However, if I downgrade Maven to version 2.0.9 it runs fine.

Presumably this is a Maven/Ant compatibility thing; can anybody tell me what
I need to do to resolve it?

-- 
View this message in context: 
http://old.nabble.com/An-Ant-BuildException-has-occured%3A-java.lang.IllegalAccessError-tp26421264p26421264.html
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to