|
Re: Problem in developing WebApplication [message #227222 is a reply to message #227165] |
Mon, 26 January 2009 14:24 |
Eclipse User |
|
|
|
Originally posted by: wknauf_NO_._INSIDE_hg-online.de
Hi,
this sounds as if your project is missing the JARs provided by your target
server runtime.
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
Wolfgang
aum schrieb:
> 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
> Umesh
>
|
|
|
Powered by
FUDForum. Page generated in 0.02337 seconds