Re: Unable to find a class in WOLips
Re: Unable to find a class in WOLips
- Subject: Re: Unable to find a class in WOLips
- From: Greg <email@hidden>
- Date: Tue, 6 Sep 2005 15:52:47 +1000
Is the web services framework turned on? Right click on WO Framework
and go configure. This allows you to turn on all your frameworks when
it generates the classpath file.
HTH,
Greg
On 06/09/2005, at 3:04 PM, Sravan Gurrala wrote:
Hi All,
Need some help here. I just ported and WOApplication from XCode to
Eclipse 3.0 on Mac OS X Tiger.
Am able to build it in eclipse but it gives me following error when
i run it.
before calling WOAPP ------ i added this
[2005-09-06 13:47:20 EST] <main> WOMaxIOBufferSize=8196
[2005-09-06 13:47:20 EST] <main> WOWorkerThreadCountMin=16
.
.
.
.
[2005-09-06 13:47:20 EST] <main> WOSocketCacheSize=100
[2005-09-06 13:47:20 EST] <main> WOUserDirectory=
[2005-09-06 13:47:20 EST] <main> WODisplayExceptionPages=true
[2005-09-06 13:47:20 EST] <main> ------------------------
[2005-09-06 13:47:20 EST] <main> Created adaptor of class
WODefaultAdaptor on port 51351 and address AustStyle-
Shravan-2.local/10.10.18.56 with WOWorkerThread minimum of 16 and
maximum of 256
[2005-09-06 13:47:20 EST] <main> NSBundle is unable to find
"ExtensionsForResources.plist" in the main bundle. Ignoring
optional configuration file.
[2005-09-06 13:47:20 EST] <main> Cannot use rapid turnaround.
Please start Xcode and open the project for this application.
[2005-09-06 13:47:20 EST] <main> *** The application has found the
following opened, development-mode ProjectBuilderWO projects:
(<com.webobjects.appserver._private.WOProjectBundle:
projectName='BDERS'; bundlePath='/Users/shravan/Documents/office/
workspace/BDERS/build/BDERS.woa'; projectPath='/Users/shravan/
Documents/office/workspace/BDERS'>)
[2005-09-06 13:47:20 EST] <main> Application project found: Will
locate resources in '/Users/shravan/Documents/office/workspace/
BDERS' rather than '/Users/shravan/Documents/office/workspace/BDERS/
build/BDERS.woa' .
[2005-09-06 13:47:21 EST] <main> Creating LifebeatThread now with:
BDERS 51351 AustStyle-Shravan-2.local/10.10.18.56 1085 30000
Welcome now to BDERS! ---- i changed this
[2005-09-06 13:47:20 EST] <main> A fatal exception occurred: null
[2005-09-06 13:47:20 EST] <main> java.lang.NoClassDefFoundError
at org.apache.axis.utils.XMLUtils.<clinit>(XMLUtils.java:103)
at
com.webobjects.appserver.WOWebServiceRegistrar.setUpDeploymentDocument
(WOWebServiceRegistrar.java:46)
at com.webobjects.appserver.WOWebServiceRegistrar.<clinit>
(WOWebServiceRegistrar.java:38)
at com.auststyle.bders.Application.<init>(Application.java:45)
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:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at com.webobjects.appserver.WOApplication.main
(WOApplication.java:323)
at com.auststyle.bders.Application.main(Application.java:33)
My code in Application.java is
package com.auststyle.bders;
.
.
public class Application extends WOApplication {
public static void main(String argv[]) {
BasicConfigurator.configure();
System.out.println("before calling WOAPP");
WOApplication.main
(argv,com.auststyle.bders.Application.class);
System.out.println("after calling WOAPP");
}
public Application() {
super();
System.out.println("Welcome now to " + this.name() + "!");
/* ** Put your application initialization code here ** */
WOWebServiceRegistrar.registerWebService("BDERS",
com.auststyle.bders.ws.BDResellerWebServices.class, true);
System.out.println("ws registered");
//WOWebServiceRegistrar.registerWebService("BDERSMon",
com.auststyle.bders.ws.BDResellerWebServices.class, true);
}
}
Am unable to understand this error. Could anyone kindly help me out.
Cheers,
Shravan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40framedphotographics.com
This email sent to email@hidden
_______________________________________________
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