Hi,
Inside WEB-INF directory in your war, you should be sure to have :
1)
a copy of all framewworks used inside YourApp.woa/Contents/Frameworks
2)
In lib,directory, all jars used by your app should be present
3)
In web.xml all jar paths should be in the
WOClasspath parameter
HTH
Pierre
De : WebObjects & WOnder Development [mailto:webobjects-dev@wocommunity.org]
Envoyé : samedi, 27 mars 2021 00:34
À : WebObjects & WOnder Development <webobjects-dev@wocommunity.org>
Objet : [WO-DEV] HelloWorld App & tomcat
Hi,
I managed to create the HelloWorld App depicted in the wonder website.
It is running fine locally with run as... in eclipse mode
My concern is to to deploy the war file generated by launching "war" action on build.xml
It generates fine the war (with integrated ant in eclipse) that I deploy in a tomcat webapp folder.
But upon navigation I get a:
NoSuchMethodError: 'void com.webobjects.appserver.WOCookie.<init>(java.lang.String, java.lang.String, java.lang.String, java.lang.String, int, boolean, boolean)'
ERXApplication.java 2851 addBalancerRouteCookie er.extensions.appserver
ERXApplication.java 2834 addBalancerRouteCookieByNotification er.extensions.appserver
NativeMethodAccessorImpl.java NA invoke0 java.base/jdk.internal.reflect
NativeMethodAccessorImpl.java 62 invoke java.base/jdk.internal.reflect
....
Any hints?
______________________________
mobile: +33665727122