> I have tried to use system dependency but it doesn't work this time. The > pom.xml is shown below: > > I got the same error: > package com.sun.xml.internal.messaging.saaj.client.p2p doesn't exist
And this is why you should not be using classes marked INTERNAL. Sun makes NO guarantee about these classes/packages continuing to exist in future JDK/JVM versions [1]. It is possible that this package was in 1.4/1.5 and was removed in 1.6 (or whatever JDK your java.home is actually pointing to, impossible to tell). Also, you need to stop using system-scoped dependencies. This is a bad practice for a number of reasons. Find another implementation of these classes you're using and add it with a proper "compile" dependency. [1] http://java.sun.com/products/jdk/faq/faq-sun-packages.html Wayne --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
