You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Brett Randall <ja...@gmail.com> on 2010/08/03 08:41:51 UTC

Re: maven compile can't resolve the class in rt.jar

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 <al...@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