我的包裹以后没有得到认可。
drop
我还设置了类路径
import prasanna.AccountDetails;
import java.io.File;
import javax.xml.bind.JAXBContext;
import javax.xml.bind.JAXBException;
import javax.xml.bind.Marshaller;
import org.w3c.dom.*;
import javax.xml.parsers.*;
但编译时仍然遇到同样的错误,
C:\csj\S1>set CLASSPATH=.;
C:\Tomcat\apache-tomcat-7.0.34\lib\servlet-api.jar;
C:\Tomcat\apache-tomcat-7.0.34\lib\jsp-api.jar;
C:\Tomcat\apache-tomcat-7.0.34\lib\el-api.jar;
C:\Tomcat\apache-tomcat-7.0.34\lib\commons-beanutils-1.8.3.jar;
C:\Tomcat\apache-tomcat-7.0.34\lib\mongo-java-driver-3.1.0-20150911.172057-81.jar;
C:\Tomcat\apache-tomcat-7.0.34\lib\bson-3.0.2.jar;C:\Tomcat\apache-tomcat-7.0.34\lib\mongodb-driver-3.0.2.jar;
C:\Tomcat\apache-tomcat-7.0.34\lib\mongodb-driver-core-3.0.2.jar;
C:\Tomcat\apache-tomcat-7.0.34\lib\jstl-1.2.jar;C:\Tomcat\apache-tomcat-7.0.34\lib\jaxb-api.jar;
C:\Tomcat\apache-tomcat-7.0.34\lib\jaxb-impl.jar;C:\Tomcat\apache-tomcat-7.0.34\lib\JAXP_160.jar;
C:\Tomcat\apache-tomcat-7.0.34\lib\w3c-dom.jar;C:\Tomcat\apache-tomcat-7.0.34\lib\javax.xml.parsers-1_1.jar;
C:\Tomcat\apache-tomcat-7.0.34\lib\sax.jar;
C:\Tomcat\apache-tomcat-7.0.34\webapps\csj\WEB-INF\classes;
CreateAccountFinal.java:18:错误:包prasanna不存在
import prasanna.AccountDetails;