-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi,
>> finally got ClassNotFoundException because of a missing dependency Jar in >> the lib folder; more precisely xalan:serializer:2.7.1 >> >> PS: I tested it with Maven 3.0.3 using Java 1.6.0_24, first on Solaris 11 >> Express and then on Mac OS X 10.6.7. > > Xalan and Xerces are special since they have been absorbed into the > JVM as of 1.4. In 1.5 they were basically shaded so now they are under > com.sun.* instead of directly under org.apache.* which was causing > problems. Xalan and Xerces are actually included because the versions in 1.4 / 1.5 are older than those available at apache.org. As far as I know they are needed by some legacy code for (de-)serialization of objects. I don't know if it is feasible to replace that code in short or mid term to make (better) usage of the capabilities provided directly by Java 6. > What class specifically is giving you the CNFE? I'm at home so I can't tell what class was causing this error. I'll see Monday when I'm at work, but I guess it was something like org/apache/xml/serializer/Serializer > Are you building and > then running your code with the same version etc of the JVM? Yes. But what puzzles me is that the archives created by Maven 2.2.1 and Maven 3.0.3 are different, and I don't see a reason why... > This may > be a situation where a jdk-specific profile is kicking in and > including (or not) a dependency during your build... or something else > of course. I don't use any profile, and the in-house dependencies I'm using also don't make usage of profiles. Thorsten -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) iQIcBAEBAgAGBQJNzlPbAAoJEFpUu7h4Il4IQ+cP/0Hg0YYDc4Uu3eVTGMqPYWd9 GeKmiUNw/mZHcR56aAUG1xgCjxfvtX1Ub3SGGNn8TKF4fNMboQv+YE41Ze8ALVC7 uX1TBu8LeWO3gq3qP7McsTxZ/+aVjYqv3RigEWEs/gOv9Z+oei3hYl8/c+9sr/sq c1TU+A6dZqjsBeEnp0/lNoGvPV6fe/Dg+GuO9XVBZsPf7f8trL16vUPmAuyFaEoy awN0+ZneWbMi3Ye/bTw6cCqePXIJW9UasP4uN/+QuEHokNbLixyXjd5AQ9dQhOKm Ov3Nf2xaFa99XGi8lIqiX0ds548hC/Ub8B04/5yyv2bKcyxKcuoIa9oxYb1LlyBB PV8VOQuVhz++mjdYVe7g70NklXI4uLo7kCxnOsfd8XgFnoxUjjj646AKpbiOwzHH ACn1DVN2ijBDfmGmfracJo7nwkdbuEKGNIqivTg87S3EzZNATErTbSlBM4Y1Fj7+ tJb0J7SUcQBxWt4jiJBqOva0/S7l+tveQGezpIrdsv4/OglTy3vLvGNL9+J+GQlm nlBRxsFcCVJkmhViBhNjuFAx1M6+g7pEjjxETl7OaZKtWJ0lDcoxUxQ/POfC5RKS grhykOtrW1xU4qAJCzI4OJ72Qv9z9p/ORwGy5DAFaGAvTUK8ClzzZJRwznkilcBo kV7bX6nN+bDhTzp//8P9 =Yfmg -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
