On Tue, 26 May 2009 18:39:02 +0200, Onno Scheffers wrote: > I'm still on Java 5 and trying to upgrade Tapestry from 5.0.18 to 5.1.0.5. > > On startup I see the error-message: java.lang.NoClassDefFoundError: > javax/xml/stream/XMLResolver > The XMLResolver was only added to Java 1.6 according to its docs ( > http://java.sun.com/javase/6/docs/api/javax/xml/stream/XMLResolver.html). > > I didn't read anything in the upgrade notes or release notes about this, > so I was wondering if I missed something?
While StAX is indeed part of JDK6, its more likely that you're simply missing the stax-api and woodstox jars on your classpath. Woodstox is an implementation of StAX for JDKs <6. With maven they are correctly added to the classpath as transitive dependencies. :) Holger --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org