Re: System scope dependency can't find class in rt.jar?

2009-05-06 Thread Baptiste MATHUS
Well, this is a common bad practice to import packages like sun.* or com.sun.*. PMD has even a standard rule to check this pattern. This can particularly be a problem when deploying on other JVM than sun's. But if you really really must have a dependency against this jar, then I would proceed with

Re: System scope dependency can't find class in rt.jar?

2009-05-06 Thread Brett Randall
Long shot - I know that "newest" in /usr/lib/jvm/newest/jdk/jre/lib/rt.jar suggests it is a JDK6 JDK, but might be worth double-checking on the build machine, in case a JDK5 slipped in unnoticed (which won't have this class). I see you've extracted the classes from the JAR, but maybe you did this f

System scope dependency can't find class in rt.jar?

2009-05-06 Thread Charles McCallum
I need to reference WSBindingProvider, a class in the standard rt.jar: package edu.upenn.library.itadd.dla.fedora; ... import com.sun.xml.internal.ws.developer.WSBindingProvider; ... WSBindingProvider bp = (WSBindingProvider)port; ... This builds fine in Eclipse (without maven), but