• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to resolv this Error  RSS feed

 
raj talatam
Ranch Hand
Posts: 92
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

package info.inetsolv;
import org.apache.struts.validator.*;
public class UserRegistrationFB extends DynaValidatorForm {

}



C:\Documents and Settings\Administrator\Desktop\dtoapp\WEB-INF\src>javac -d . Us
erRegistrationFB.java
UserRegistrationFB.java:3: cannot access org.apache.commons.beanutils.DynaBean
class file for org.apache.commons.beanutils.DynaBean not found
public class UserRegistrationFB extends DynaValidatorForm {
^
1 error
this is the classpath i have set

C:\Documents and Settings\Administrator\Desktop\dtoapp\WEB-INF\src>set classpath
=mysql-connector-java-5.1.20-bin.jar;servlet-api.jar;struts-core-1.3.10.jar;comm
ons-validator-1.3.1.jar;.;
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Assuming we are talking about an error thrown by a servlet.

Tomcat ignores your environment classpath. Look for the class-loader-howto.html file in a typical Tomcat installation for the details on where Tomcat looks for class files.

Bill

 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!