Hi, I have tried to use system dependency but it doesn't work this time. The pom.xml is shown below:
<dependency> <groupId>jdk</groupId> <artifactId>jdk</artifactId> <version>1.6.0</version> <scope>system</scope> <systemPath>${java.home}/lib/rt.jar</systemPath> </dependency> I got the same error: package com.sun.xml.internal.messaging.saaj.client.p2p doesn't exist thanks Wayne Fay wrote: > > On Sun, Mar 7, 2010 at 11:08 PM, youhaodeyi wrote: >> I use Maven to compile my project but it shows an error the this package >> "com.sun.xml.internal.messaging.saaj.client.p2p" cannot found. > > You asked a nearly identical question almost 2 years ago. The answer > today is no different from what you heard then (just stop using those > internal jdk classes). > > Subject: Why can't Maven find > com.sun.xml.internal.messaging.saaj.util.ByteOutputStream class? > From: youhaodeyi > Date: May 26, 2008 1:06:12 am > List: org.apache.maven.users > > Wayne > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > > > -- View this message in context: http://old.nabble.com/Maven-doesn%27t-include-com.sun.xml.internal.messaging.saaj.client.p2p-package--tp27817140p27818505.html Sent from the Maven - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org