|Re: Problem in developing WebApplication [message #227222 is a reply to message #227165]
||Mon, 26 January 2009 14:24
Originally posted by: wknauf_NO_._INSIDE_hg-online.de|
this sounds as if your project is missing the JARs provided by your target
What server do you use? Did you create the corresponding server runtime
definition in the preferences?
How did you migrate the project from myEclipse to Eclipse? Simple directory
copy? WAR import? Project import?
I suggest that you create a new Dynamic Web Project (here it will ask you to
specify the server runtime) and copy all files from your MyEclipse project to
the corresponding directories of the new Eclipse project (the directory
structure might differ).
Hope this helps
> Hi All,
> i imported an existin project from myEclipse to eclipse platform
> i am usinh STruts2 along with hibernate in here in my application
> but on importing it to Eclipse platform i am facing a problem
> here is what my Eclipse is showing the error
> Description Resource Path Location Type
> The project was not built since its build path is incomplete. Cannot
> find the class file for javax.servlet.http.HttpServletResponse. Fix the
> build path then try building this project BillSmart Unknown
> Java Problem
> The type javax.servlet.http.HttpServletResponse cannot be resolved. It
> is indirectly referenced from required .class files
> This is the code which is causing me the problem in Eclipse
> ServletActionContext.getResponse().setContentType(contentTyp e);
> setContentType is not defined
> Can any one point me the problem where is going wrong??
> Thanks in advance
Powered by FUDForum
. Page generated in 0.04584 seconds