The easiest fix is to add this to your Application.java:
protected Class _sessionClass() {
return your.own.Session.class;
}
Chuck
On 2012-05-02, at 1:12 AM, Ron X wrote:
> Hi community
> i have started new test application from scratch - D2W WONDER Application
> i converted it into Maven project by eclipse
> and than i have so:
>
> WARN 42.99 MB used/38.07 MB free [ProcessChangesQueue]
> (ERXNSLogLog4jBridge.java:43) - A fatal exception occurred:
> <com.legalsounds.Application> Class 'Session' exists (interface
> org.apache.axis.session.Session) but is not a subclass of WOSession.
> [2012-5-2 0:50:2 PDT] <ProcessChangesQueue>
> java.lang.IllegalArgumentException: <com.legalsounds.Application> Class
> 'Session' exists (interface org.apache.axis.session.Session) but is not a
> subclass of WOSession.
> at
> com.webobjects.appserver.WOApplication._sessionClass(WOApplication.java:1934)
> at
> com.woinject.InjectableApplication.createInjector(InjectableApplication.java:86)
> at
> com.woinject.InjectableApplication.<init>(InjectableApplication.java:63)
> at com.legalsounds.Application.<init>(Application.java:13)
> 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:513)
> at java.lang.Class.newInstance0(Class.java:355)
> at java.lang.Class.newInstance(Class.java:308)
> at com.webobjects.appserver.WOApplication.main(WOApplication.java:547)
> at er.extensions.appserver.ERXApplication.main(ERXApplication.java:826)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at com.woinject.WOInject.init(WOInject.java:87)
> at com.legalsounds.Application.main(Application.java:10)
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list ([email protected])
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net
>
> This email sent to [email protected]
--
Chuck Hill Senior Consultant / VP Development
Practical WebObjects - for developers who want to increase their overall
knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/gvc/practical_webobjects
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
