Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Eclipse with struts example
Eclipse with struts example [message #167947] Tue, 09 December 2003 05:44 Go to next message
Eclipse UserFriend
Originally posted by: peter.tilm.gmx.de

Hi,

i'm new to eclipse and struts. I' just tryin to get the Jakarta
struts-example running. When creating a new Java Project pointing to the
example directory i receive the following eclipse messages:

- The project was not built since its classpath is incomplete. Cannot find
the class file for javax.servlet.ServletException. Fix the classpath then
try rebuilding this project.

and

- This compilation unit indirectly references the missing type
javax.servlet.ServletException (typically some required class file is
referencing a type outside the classpath).

anyone a clue how i can get rid of these messages and build and run this
example?

thanks,
Peter
Re: Eclipse with struts example [message #167970 is a reply to message #167947] Tue, 09 December 2003 07:14 Go to previous messageGo to next message
Eclipse UserFriend
You must set servlet.jar from btw. tomcat and struts.jar form struts

regards
Haris Peco
Peter wrote:

> Hi,
>
> i'm new to eclipse and struts. I' just tryin to get the Jakarta
> struts-example running. When creating a new Java Project pointing to the
> example directory i receive the following eclipse messages:
>
> - The project was not built since its classpath is incomplete. Cannot find
> the class file for javax.servlet.ServletException. Fix the classpath then
> try rebuilding this project.
>
> and
>
> - This compilation unit indirectly references the missing type
> javax.servlet.ServletException (typically some required class file is
> referencing a type outside the classpath).
>
> anyone a clue how i can get rid of these messages and build and run this
> example?
>
> thanks,
> Peter
Re: Eclipse with struts example [message #168003 is a reply to message #167970] Tue, 09 December 2003 06:33 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: peter.tilm.gmx.de

how do i do that (newbie);-) if i right-click on the project name i can go
to a dialog "Java Build path" where i can choose libraries. There i have
the struts.jar included but how do i include the servlet.jar?

thanks,
Peter
snpe wrote:

> You must set servlet.jar from btw. tomcat and struts.jar form struts

> regards
> Haris Peco
> Peter wrote:

> > Hi,
> >
> > i'm new to eclipse and struts. I' just tryin to get the Jakarta
> > struts-example running. When creating a new Java Project pointing to the
> > example directory i receive the following eclipse messages:
> >
> > - The project was not built since its classpath is incomplete. Cannot find
> > the class file for javax.servlet.ServletException. Fix the classpath then
> > try rebuilding this project.
> >
> > and
> >
> > - This compilation unit indirectly references the missing type
> > javax.servlet.ServletException (typically some required class file is
> > referencing a type outside the classpath).
> >
> > anyone a clue how i can get rid of these messages and build and run this
> > example?
> >
> > thanks,
> > Peter
Re: Eclipse with struts example [message #168213 is a reply to message #168003] Tue, 09 December 2003 13:47 Go to previous message
Eclipse UserFriend
For struts you need servlet container (tomcat from jakarta.apache.org)
servlet-api.jar is in common/lib

Yo see myeclipse, too www.myeclipseide.com (29.95$ for year)

regards
Peter wrote:

> how do i do that (newbie);-) if i right-click on the project name i can go
> to a dialog "Java Build path" where i can choose libraries. There i have
> the struts.jar included but how do i include the servlet.jar?
>
> thanks,
> Peter
> snpe wrote:
>
>> You must set servlet.jar from btw. tomcat and struts.jar form struts
>
>> regards
>> Haris Peco
>> Peter wrote:
>
>> > Hi,
>> >
>> > i'm new to eclipse and struts. I' just tryin to get the Jakarta
>> > struts-example running. When creating a new Java Project pointing to
>> > the example directory i receive the following eclipse messages:
>> >
>> > - The project was not built since its classpath is incomplete. Cannot
>> > find the class file for javax.servlet.ServletException. Fix the
>> > classpath then try rebuilding this project.
>> >
>> > and
>> >
>> > - This compilation unit indirectly references the missing type
>> > javax.servlet.ServletException (typically some required class file is
>> > referencing a type outside the classpath).
>> >
>> > anyone a clue how i can get rid of these messages and build and run
>> > this example?
>> >
>> > thanks,
>> > Peter
RCP using Swing? [message #168244 is a reply to message #168213] Tue, 09 December 2003 13:39 Go to previous message
Eclipse UserFriend
Is there any chance the RCP will toss out SWT in favor of using Swing, or at
least allow Swing to be used in place of SWT? There are some platforms SWT
doesn't work on very well, that Swing is solid in. I also wish SWT and Swing
would merge, keeping the Swing API but adding some of the native SWT
capabilities into the JDK. I have chatted with many developers in regards to
SWT and Swing, and the general concensus is that while SWT offers some nice
things, the majority of developers are going to be using Swing, and many
will not spend the time, or get paid to do so, to learn the SWT API for
future applications especially when their apps are already Swing based. I
think its a real shame to be stuck using SWT with the RCP. The RCP will
offer a lot of valuable features for developing UI applications quickly, but
without Swing I fear it will not be nearly as used as it could be.
Previous Topic:Projects question
Next Topic:Contributing to the main menu bar
Goto Forum:
  


Current Time: Sun May 11 08:27:38 EDT 2025

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

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

Back to the top