• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: SerializerFactory and Leopard 10.5 (eclipse and xcode)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SerializerFactory and Leopard 10.5 (eclipse and xcode)


  • Subject: Re: SerializerFactory and Leopard 10.5 (eclipse and xcode)
  • From: Carlos Maldonado <email@hidden>
  • Date: Thu, 21 May 2009 23:41:28 -0700

yep:

axis-ant.jar
axis.jar
commons-discovery-0.2.jar
commons-logging-1.0.4.jar
derby.jar
derbyclient.jar
javaxml.jar
jaxrpc.jar
log4j-1.2.14.jar
saaj.jar
serializer.jar
servlet.jar
wsdl4j-1.5.1.jar
xalan.jar
xercesImpl.jar
xml-apis.jar

And now that you mention I must do a clean on the libraries I'm seeing the project links to, as there are various references to the same axis.jar and others. The following is the output when I run the woapp:
[2009-5-21 23:38:19 PDT] <main> A fatal exception occurred: javax/xml/rpc/encoding/SerializerFactory
[2009-5-21 23:38:19 PDT] <main> java.lang.NoClassDefFoundError: javax/xml/rpc/encoding/SerializerFactory
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
at ServiceManager.load(ServiceManager.java:42)
at Application.<init>(Application.java:60)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at java.lang.Class.newInstance0(Class.java:350)
at java.lang.Class.newInstance(Class.java:303)
at com.webobjects.appserver.WOApplication.main(WOApplication.java:547)
at Application.main(Application.java:49)


-Carlos

On May 21, 2009, at 11:13 PM, Chuck Hill wrote:


On May 21, 2009, at 11:00 PM, Carlos Maldonado wrote:

Hi,

I'm migrating some WO5.3 projects from Tiger to Leopard with WO5.4  
and got to a strange error that looks like is a classpath error. My  
code is now free of compile errors but at runtime I got  
java.lang.NoClassDefFoundError: javax/xml/rpc/encoding/
SerializerFactory when calling new BeanSerializerFactory. I've  
checked my classpath and paths for JavaXML.framework and axis.jar (/
Library/Java/Extensions) are all there however I got that error.

I'm using 10.5.7 with Eclipse 3.4.1 and WOLips 5.4 and btw, I opened  
my original Tiger WO project with XCode and I get exactly the same  
error, so I'm inclined to think that the problem is not neither  
xcode nor eclipse but axis with leopard or WOLips.

Anyone have a different or clearer idea of what can be happening?


Something in /Library/WebObjects/Extensions?


--
Chuck Hill             Senior Consultant / VP Development

Come to WOWODC'09 in San Fran this June!
http://www.wocommunity.org/wowodc09/



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >SerializerFactory and Leopard 10.5 (eclipse and xcode) (From: Carlos Maldonado <email@hidden>)
 >Re: SerializerFactory and Leopard 10.5 (eclipse and xcode) (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: SerializerFactory and Leopard 10.5 (eclipse and xcode)
  • Next by Date: Localizing number formatters
  • Previous by thread: Re: SerializerFactory and Leopard 10.5 (eclipse and xcode)
  • Next by thread: SerializerFactory and Leopard 10.5 (eclipse and xcode)
  • Index(es):
    • Date
    • Thread