I found out the problem. You must include the servletapi-2.3.jar in the
classpath. This is not imported in the Maven target jetspeed:deploy.

-----Original Message-----
From: Bob Fleischman [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 15, 2004 11:56 PM
To: Jetspeed Users List (E-mail)
Subject: Maven Jetspeed Plugin and Eclipse


I am working my way through using the Maven Plugin using Eclipse.

I created a new dir in the eclipse workspace directory (HomePort) and ran
Maven jetspeed:genapp.

Inside Eclipse (2.1.3) I created a new Project around that directory.

I added the jetspeed and turbine jars from the stage/webapps/WEB-INF/lib
directories to the Java Build Path / Libraries.

The following errors shows up in the tasks
The project was not built since its classpath is incomplete. Cannot find the
class file for javax.servlet.ServletConfig. Fix the classpath then try
rebuilding this project.
This compilation unit indirectly references the missing type
javax.servlet.ServletConfig (typically some required class file is
referencing a type outside the classpath)       MyService.java
HomePort/src/java/com/automateddocsys/portal/services/myservice line 0

It will still compile with Maven jetspeed:deploy or jetspeed:hotdeploy.

I can not get any code completion in MyAction.java. No errors, but no
response.

Can anyone shed some light on what I can do in Eclipse so that it will



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to