IntelliJ Java IDE
The moose likes IDEs, Version Control and other tools and the fly likes sun one studio 4 update 1 Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "sun one studio 4 update 1" Watch "sun one studio 4 update 1" New topic
Author

sun one studio 4 update 1

Keith Lockey
Ranch Hand

Joined: Oct 05, 2001
Posts: 48
New to struts,
I am doing the hello world from struts kick start, I have mounted my struts lib directory with the following jars in it.
commons-beanutils-1.6.1.jar
commons-collections.jar
commons-dbcp.jar
commons-digester.jar
commons-logging.jar
commons-pool.jar
commons-services.jar
commons-validator.jar
jakarta-struts-1.1.jar
struts-1.1b2.jar

I keep getting this error when trying to compile HelloAction.java

HelloAction.java [9:1] package org.apache.struts.action does not exist
import org.apache.struts.action.Action;


Not sure what I am doing wrong. It should compile? I think?

[ October 27, 2003: Message edited by: Keith Lockey ]

Thanks,<br />Keith
Matthew Phillips
Ranch Hand

Joined: Mar 09, 2001
Posts: 2676
Check to see if jakarta-struts-1.1.jar and struts-1.1b2.jar both contain the same classes (as I suspect they might). If that is the case, remove one of them. I suspect that Eclipse is finding
org.apache.struts.action.Action in both jars and doesn't know which one to use.


Matthew Phillips
 
 
subject: sun one studio 4 update 1
 
Threads others viewed
autocompleter and datetimepicker not working in Struts 2
Start with Struts - newbie
struts
Resource not found
sslext struts tiles exception.
developer file tools