Re: problems loading correct class, using maven 2.2.1 and jdk1.6

2011-08-16 Thread Daivish Shah
Hi Glenh, I have similar issue and i want to pass my JDK version rt.jar file... Can you please send me the Tags that you are using ? And The line of code which i need to use to implement this ? thanks, daivish. On Tue, Aug 16, 2011 at 12:44 PM, glenh wrote: > I think I found a solution for

Re: problems loading correct class, using maven 2.2.1 and jdk1.6

2011-08-16 Thread glenh
I think I found a solution for this problem. In my maven build I just download the particular jar that I need and add the -endorseddirs option when I invoke the maven compiler to override the default class provided in the rt.jar. -- View this message in context: http://maven.40175.n5.nabble.com/

Re: problems loading correct class, using maven 2.2.1 and jdk1.6

2011-08-13 Thread Baptiste MATHUS
Are you sure what you need is feasible with javac? As Maven just uses it to compile, anything feasible with javac should be easy enough to pass through. My 2 cents. Le 11 août 2011 19:27, "glenh" a écrit : > Hey, > > We're using web service annotations for our application and running into a > str

problems loading correct class, using maven 2.2.1 and jdk1.6

2011-08-11 Thread glenh
Hey, We're using web service annotations for our application and running into a strange problem. During compilation we get an error stating that it can't find a specific constructor(s). The problem is that the class that has the correct constructor is located in a third party jar (from geranimo