Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » methods in dependent package, WTP 1.0, Eclipse 3.1.2
methods in dependent package, WTP 1.0, Eclipse 3.1.2 [message #166016] Thu, 06 April 2006 08:05 Go to next message
Eclipse UserFriend
Originally posted by: tiller.lau.mlu.lsa-net.de

My WebApp has a business-layer in another package auswerten.*. After
starting work with wtp-all-in-one-sdk-R-1.0.1-200602171228-win32.zip some
methods of the business layer are not found:

javax.servlet.ServletException: Servlet execution threw an exception

root cause

java.lang.NoSuchMethodError:
auswerten.layers.business.bean.KEStf.getAggKeys()Ljava/util/ HashSet;
lau.layers.actions.AnlGhsEmiAction.execute(AnlGhsEmiAction.j ava:59)
org.apache.struts.action.RequestProcessor.processActionPerfo rm(RequestProcessor.java:419)
org.apache.struts.action.RequestProcessor.process(RequestPro cessor.java:224)
org.apache.struts.action.ActionServlet.process(ActionServlet .java:1194)
org.apache.struts.action.ActionServlet.doGet(ActionServlet.j ava:414)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

There is a method

public HashSet getAggKeys() {
return aggKeys;
}

in KEStf, which works successful in JUnit-Tests.
Renaming the method is reflected in the upper error-message, so the right
class is found by the webapp.
Where conmes the L from in Ljava/util/HashSet ? I import java.util.HashSet.

Has anyone an idea ? Thank you!
Re: methods in dependent package, WTP 1.0, Eclipse 3.1.2 [message #166032 is a reply to message #166016] Thu, 06 April 2006 10:36 Go to previous message
Eclipse UserFriend
Originally posted by: tiller.lau.mlu.lsa-net.de

I have found some kind of answer in the discussion of 22.03.2006 from
Frits Jalvingh et al.
Now I'm running my WebApp always outside IDE - with success.
Thank you for that discussion.
Volker
Previous Topic:using crossContext
Next Topic:Installing via update, requirements error
Goto Forum:
  


Current Time: Tue Apr 16 18:50:19 GMT 2024

Powered by FUDForum. Page generated in 0.51269 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top