maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Randall <javabr...@gmail.com>
Subject Re: maven compile can't resolve the class in rt.jar
Date Tue, 03 Aug 2010 06:41:51 GMT
It might be worthwhile reading this:
http://blogs.sun.com/enterprisetechtips/entry/using_jax_ws_with_maven
, and particularly the comments around:

"Also, to run the sample with JDK 6 prior to the JDK 6 Update 4
release, you need use the endorsed override mechanism by copying the
jaxb-api.jar and jaxws-api.jar files to <java-home>/lib/endorsed, where
<java-home> refers to the directory in which the runtime software is
installed -- this is the top-level directory of the Java SE Runtime
Environment or the
jre directory in the JDK. If you run the sample with JDK 6 Update 4 or
later, you do not need to use the override mechanism"

Brett


On 7/31/10, Alex Kuznetsov <alexkuzn@gmail.com> wrote:
> We are having problem with maven.
> "maven compile" can't resolve the class in rt.jar
>
> Error: cannot find symbol symbol  : class Action location: package
> javax.xml.ws
>
>
> We are using :
> Maven version: 2.0.9
> Java version: 1.6.0_03
> OS name: "sunos" version: "5.10" arch: "sparc" Family: "unix"
>
> Thanks,
> Alex
>

-- 
Sent from my mobile device

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


Mime
View raw message