Package not found in import
Hello, I�m trying to run a webapplication but I get an Error 500-message in the browser(IE 5): Package not found in import. It is an webapplication with JSPs and an controlling servlet. Does anyone know how to fix that problem?
Using: Windows 2000, Tomcat 3.2.1 as NT-service, JavaTM 2 SDK, Enterprise Edition, JavaTM 2 SDK, Standard Edition
Tomcat/webapps/projektverwaltung.war
Error: 500
Location: /projektverwaltung/projektverwaltung/JSP/Menue.jsp
Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile class for JSPC:\Tomcat\work\localhost_8080%2Fprojektverwaltung\_0002fprojektverwaltung_0002fJSP_0002fMenue_0002ejspMenue_jsp_0.java:15: Package de.zebulon.projektverwaltung.projekttool not found in import.
import de.zebulon.projektverwaltung.projekttool.*;
^
1 error
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:254)
at org.apache.jasper.servlet.JspServlet.doLoadJSP(JspServlet.java:462)
at org.apache.jasper.servlet.JasperLoader12.loadJSP(JasperLoader12.java:146)
at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:433)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:152)
at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:164)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:318)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:391)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)
CLASSPATH: .;C:\;C:\jesdkee1.3\lib\j2ee.jar;C:\jdk1.3.0_01\lib\tools.jar;C:\Tomcat\lib\servlet.jar;C:\de\zebulon\projektverwaltung\projekttool;
J2EE_CLASSPATH:
C:\mysql\JDBC_MySQL_mm\mm.mysql-2.0.4-bin.jar;C:\mysql\JDBC_MySQL_Resin\caucho-jdbc-mysql-0.2.2.jar;C:\mysql\JDBC_MySQL_twz\twz1\jdbc\mysql\htdocs\twz1jdbcForMysql.jar;
J2EE_HOME:
C:\j2sdkee1.3;
JAVA_HOME:
C:\jdk1.3.0_01;
TOMCAT_HOME:
C:\tomcat;
Path:
C:\PROGRA~1\Borland\Delphi5\Projects\Bpl;C:\PROGRA~1\Borland\Delphi5\Bin;C:\PROGRA~1\BORLAND\CBUILD~1\BIN;C:\PERL\BIN;"%PATH%";%SYSTEMROOT%;%SYSTEMROOT%\system32;%SYSTEMROOT%\system32\WBEM;C:\jdk1.3.0_01\bin;C:\j2sdkee1.3\bin;C:\j2sdkee1.3\lib\j2ee.jar;C:\mysql\bin;
Server.xml entry:
<Context path="/projektverwaltung"
docBase="webapps/projektverwaltung"
defaultSessionTimeOut="30"
debug="9">
</Context>
Web.xml:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!DOCTYPE web-app PUBLIC
"-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
"http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
<web-app>
<display-name>Projektverwaltung Zebulon</display-name>
<description>Interne Projektverwaltung Fa. Zebulon</description>
<welcome-file-list>
<welcome-file>menue.jsp</welcome-file>
</welcome-file-list>
<servlet>
<servlet-name>ProjektServlet</servlet-name>
<display-name>ProjektServlet</display-name>
<description>Servlet das die Applikation kontrolliert</description>
<servlet-class>de.zebulon.projektverwaltung.projekttool.ProjektServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<url-pattern>/Projekttool</url-pattern>
<servlet-name>ProjektServlet</servlet-name>
</servlet-mapping>
<session-config>
<session-timeout>30</session-timeout>
</session-config>
</web-app>
Hello, I try copy C:\de\zebulon\projektverwaltung\projekttool\*.class in
location that contain file _002fprojektverwaltung_0002fJSP_0002fMenue_0002ejspMenue_sp_0.java.
Similar Messages
-
Package not found in import --please help me
Hi,
when I try to import jack.samples.*(<%@ page import="jack.samples.*" %>)
into the jsp ,it throws me error stating
"Package jack.samples not found in import".
1)After this,added path to this jar file in classpath i.e D:\jack\samples\samples.jar
2)still,error appears.
3)Now,added this jar file to jdk lib classes. still,error appears.
can somebody throw me light on how to trouble shoot this.
Thanks
JackHi,
I was able to solve the above problem ,the moment I declared the constructor
has public.Now,I am trying to retreive the Item class partno value and it
throws me "
d:\ibm\WAServer\temp\default_host\WCSServlets\_jameco_2F_softproduct_2E_jsp_jsp_1.java:784: No method matching getPartNo(;); found in class jack.samples.Item. temp= i.getPartNo(;);;;
I wonder what could be the cause.The code of Item class is here:
package jack.samples;
import java.util.*;
public class Item {
int partno;
String mfgno;
String description;
double cost;
public Item(int p,String m,String d,double c) {
partno = p;
mfgno=m;
description=d;
cost = c;
public int getPartNo() {
return partno;
public double getCost() {
return cost;
The JSP code :
<%
Iterator thisLot=linkTab.iterator(); // Iterate to get all items
while(thisLot.hasNext()) { // output all the elements
Item i = (Item) thisLot.next();
here it fails ****** temp= i.getPartNo();
%>
Thanks
Jack -
Help - Tomcat - Package not found in import
Error: 500
Location: /htmltest/login.jsp
Internal Servlet Error:
org.apache.jasper.JasperException: Unable to compile C:\jdk1.3.1\jakarta-tomcat-3.3a\work\DEFAULT\htmltest\login_1.java:5: Package usingjsp not found in import.
import usingjsp.*;
^
1 error
at org.apache.tomcat.facade.JasperLiaison.javac(Unknown Source)
at org.apache.tomcat.facade.JasperLiaison.processJspFile(Unknown Source)
at org.apache.tomcat.facade.JspInterceptor.requestMap(Unknown Source)
at org.apache.tomcat.core.ContextManager.processRequest(Unknown Source)
at org.apache.tomcat.core.ContextManager.internalService(Unknown Source)
at org.apache.tomcat.core.ContextManager.service(Unknown Source)
at org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Unknown Source)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(Unknown Source)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(Unknown Source)
at java.lang.Thread.run(Thread.java:484)
Above is the error I encounter when running my JSP and Servlets combination under Tomcat3.3a
Can anyone pls tell me basically what error is that?
The path for my package "usingjsp" is c:\jdk13~1.1\jakart~1.3a\webapps\examples\web-inf\classes\usingjsp
I put my package under that directory because to my knowledge Tomcat requires all servlet to be put under there by default.
The path for my JSP file is c:\jdk13~1.1\jakart~1.3a\webapps\htmltest.
NOTE: I had modified the XML file.
Under that folder there is 2 classes named LoginServlet and UserDataTable.
Below are my codes:
1. logintest.html
<html>
<body>
<form action="login.jsp" method="post">
<table>
<tr><td>Username: <td><input type="text" name="username">
<tr><td>Password: <td><input type="password" name="password">
</table>
<input type="submit" value="SUBMIT">
</form>
</body>
</html>
2. login.jsp
<%@ page language="java" import="java.util.*" %>
<%@ page import="usingjsp.*" %>
<html>
<body bgcolor="#a3355f">
<%
String userName = request.getParameter("username");
String password = request.getParameter("password");
String userKey = UserDataTable.createUserData();
Hashtable userData = UserDataTable.getUserData(userKey);
userData.put("username", userName);
%>
<form action="/examples/servlet/LoginServlet" method="post">
<input type="hidden" name="userKey" value="<%userKey%>">
<input type="submit" value="SUBMIT">
</form>
</body>
</html>
3. LoginServlet.java
//package usingjsp;
import javax.servlet.*;
import java.io.*;
import java.util.*;
public class LoginServlet extends GenericServlet {
public void service(ServletRequest req, ServletResponse res) throws IOException {
res.setContentType("text/html");
PrintWriter out = res.getWriter();
String userKey = req.getParameter("userKey");
Hashtable userData = new Hashtable();
UserDataTable temp = new UserDataTable();
userData = temp.getUserData(userKey);
if (userData == null) {
out.println("<html>");
out.println("<body>");
out.println("<h1>SORRY<h1>");
out.println("</body>");
out.println("</html>");
return;
String userName = (String)userData.get("username");
out.println("<html>");
out.println("<body>");
out.println("<h1>" + userName + "<h1>");
out.println("</body>");
out.println("</html>");
4. UserDataTable.java
//package usingjsp;
import java.util.*;
public class UserDataTable {
protected static Hashtable userData = new Hashtable();
protected static Random keyGenerator = new Random();
public static String createUserData() {
String userKey = "" + keyGenerator.nextLong();
userData.put(userKey, new Hashtable());
return userKey;
public static Hashtable getUserData(String userKey) {
if (userKey == null) return null;
return (Hashtable) userData.get(userKey);
public static void clearUserData(String userKey) {
if (userKey == null) return;
userData.remove(userKey);
}Pls let me know if you need more info. Thanks!1. login.jsp
<%@ page language="java" import="java.util.*" %>
<%@ page import="classes.servlets.*" %>
<html>
<body bgcolor="#a3355f">
<%
String userName = request.getParameter("username");
String password = request.getParameter("password");
String userKey = UserDataTable.createUserData();
Hashtable userData = UserDataTable.getUserData(userKey);
userData.put("username", userName);
%>
<form action="/classes/servlet/LoginServlet" method="post">
<input type="hidden" name="userKey" value="<%userKey%>">
<input type="submit" value="SUBMIT">
</form>
</body>
</html>
2. UserDataTable.java
package classes.servlets;
import java.util.*;
public class UserDataTable {
protected static Hashtable userData = new Hashtable();
protected static Random keyGenerator = new Random();
public static String createUserData() {
String userKey = "" + keyGenerator.nextLong();
userData.put(userKey, new Hashtable());
return userKey;
public static Hashtable getUserData(String userKey) {
if (userKey == null) return null;
return (Hashtable) userData.get(userKey);
public static void clearUserData(String userKey) {
if (userKey == null) return;
userData.remove(userKey);
3. LoginServlet.java
package classes.servlets;
import javax.servlet.*;
import java.io.*;
import java.util.*;
public class LoginServlet extends GenericServlet {
public void service(ServletRequest req, ServletResponse res) throws IOException {
res.setContentType("text/html");
PrintWriter out = res.getWriter();
String userKey = req.getParameter("userKey");
Hashtable userData = new Hashtable();
UserDataTable temp = new UserDataTable();
userData = temp.getUserData(userKey);
if (userData == null) {
out.println("<html>");
out.println("<body>");
out.println("<h1>SORRY<h1>");
out.println("</body>");
out.println("</html>");
return;
String userName = (String)userData.get("username");
out.println("<html>");
out.println("<body>");
out.println("<h1>" + userName + "<h1>");
out.println("</body>");
out.println("</html>");
}I had added CLASSPATH=c:\jdk13~1.1\jakart~1.3a\webapps\internet\web-inf into autoexec.bat.
I had been able to compile UserDataTable.java and LoginServlet.java.
Path for UserDataTable = c:\jdk13~1.1\jakart~1.3a\webapps\internet\web-inf\classes\servlets\UserDataTable.java
Path for LoginServlet = c:\jdk13~1.1\jakart~1.3a\webapps\internet\web-inf\classes\servlets\UserDataTable.java
server.xml<?xml version="1.0" encoding="ISO-8859-1"?>
<Server>
<!-- You can add a "home" attribute to represent the "base" for
all relative paths. If none is set, the TOMCAT_HOME property
will be used, and if not set "." will be used.
webapps/, work/ and log/ will be relative to this ( unless
set explicitely to absolute paths ).
-->
<ContextManager workDir="work" >
<!-- ==================== Global modules ==================== -->
<LoaderInterceptor11 useApplicationLoader="true" />
<TrustedLoader />
<LogSetter name="tc_log" timestamps="true"
verbosityLevel="INFORMATION" />
<LogEvents enabled="false" />
<!-- Backward compat: read the Context declarations from server.xml-->
<ContextXmlReader config="conf/server.xml" />
<!-- Separated Context -->
<ContextXmlReader config="conf/apps.xml" />
<AutoDeploy source="modules" target="modules"
redeploy="true" />
<AutoWebApp dir="modules" host="DEFAULT" trusted="true"/>
<AutoDeploy source="webapps" target="webapps" />
<AutoWebApp dir="webapps" host="DEFAULT" />
<PolicyLoader securityManagerClass="java.lang.SecurityManager"
policyFile="conf/tomcat.policy" />
<SimpleMapper1 />
<SessionExpirer checkInterval="60" />
<!-- For development you can use randomClass="java.util.Random" -->
<SessionIdGenerator randomClass="java.security.SecureRandom"
randomFile="/dev/urandom" />
<!-- ========== context processing modules ========== -->
<!-- This will be the "default" profile
( all except the "global" modules can be set per context )
-->
<LogSetter name="servlet_log"
timestamps="true"
verbosityLevel = "INFORMATION"
path="logs/servlet-${yyyyMMdd}.log"
/>
<LogSetter name="JASPER_LOG"
timestamps="true"
path="logs/jasper-${yyyyMMdd}.log"
verbosityLevel = "INFORMATION" />
<WebXmlReader validate="true" />
<ErrorHandler showDebugInfo="true" />
<WorkDirSetup cleanWorkDir="false" />
<Jdk12Interceptor />
<!-- Non-standard invoker, for backward compat. ( /servlet/* ) -->
<InvokerInterceptor />
<!-- you can add javaCompiler="jikes" -->
<JspInterceptor keepGenerated="true"
largeFile="false"
useJspServlet="false"
/>
<StaticInterceptor listings="true" />
<ReloadInterceptor fullReload="true" />
<SimpleSessionStore maxActiveSessions="-1" />
<AccessInterceptor />
<CredentialsInterceptor />
<SimpleRealm filename="conf/users/global-users.xml" />
<!-- UnComment the following and comment out the
above to get a JDBC realm.
Other options for driverName:
driverName="oracle.jdbc.driver.OracleDriver"
connectionURL="jdbc:oracle:thin:@ntserver:1521:ORCL"
connectionName="scott"
connectionPassword="tiger"
driverName="org.gjt.mm.mysql.Driver"
connectionURL="jdbc:mysql://localhost/authority"
connectionName="test"
connectionPassword="test"
"connectionName" and "connectionPassword" are optional.
-->
<!--
<JDBCRealm
debug="99"
driverName="sun.jdbc.odbc.JdbcOdbcDriver"
connectionURL="jdbc:odbc:TOMCAT"
userTable="users"
userNameCol="user_name"
userCredCol="user_pass"
userRoleTable="user_roles"
roleNameCol="role_name" />
-->
<LoadOnStartupInterceptor />
<Servlet22Interceptor />
<!-- Tag pooling support.
To enable the reuse of tag handlers as described in
the JSP spec, uncomment the following. If your pages
use a lot of custom tags, you should see a nice performance
gain.
Note that placing the interceptor here will enable
Tag pooling for all of the web applicatitions loaded -
this may be a bad thing if all tags are not coded to
handle reuse. To enable pooling only for specific web
applications i.e. Contexts, place the interceptor inside of
the Context's definition.
To view information about tag usage uncomment the tag
LogSetter. Set verbosityLevel to DEBUG to see everytime
a tag is obtained and released.
-->
<!--
<LogSetter name="tag_pool_log" timestamps="true"
path="logs/tagpool-${yyyyMMdd}.log"
verbosityLevel="INFORMATION" />
<TagPoolManagerInterceptor />
-->
<!-- Request processing -->
<DecodeInterceptor />
<SessionId cookiesFirst="true" noCookies="false" />
<!-- Automatic config generation
Set noRoot="false" if you wish to have Tomcat try to take
control of the external web server's root context.
Additonal configuration of the external web server may be
required for this to be successful.
Note: Configuration files are not written as part of the
default startup behvior. Append "jkconf" to the startup
command to have Tomcat initialize, write the config files,
then exit. This may be done while Tomcat is running.
-->
<ApacheConfig noRoot="true" />
<IISConfig noRoot="true" />
<NSConfig noRoot="true" />
<!-- Uncoment for apache-style logs
Attributes: logFile, flush, format
<AccessLogInterceptor/>
-->
<!-- ==================== Connectors ==================== -->
<!-- new http adapter. Attributes:
secure - use SSL ( https )
keystore, keypass - certs for SSL
port
reportedname - Server name to send back to browser
by default report Tomcat Web Server ...
set an empty string to avoid sending server header
-->
<Http10Connector port="8080"
secure="false"
maxThreads="100"
maxSpareThreads="50"
minSpareThreads="10" />
<!--
Uncomment this for SSL support. You _need_ to set up a
server certificate if you want this to work, and you
need JSSE. See tomcat-ssl-howto.html for more detailed
instructions.
1. Make the JSSE jars available to Tomcat, either by making
them an installed extension or by adding them to the
Tomcat CLASSPATH.
2. Do: keytool -genkey -alias tomcat -keyalg RSA
RSA is essential to work with Netscape and IIS.
Use "changeit" as password. ( or add keypass attribute )
You don't need to sign the certificate.
-->
<!--
<Http10Connector port="8443" secure="true" />
-->
<!--
JNI connector. It assumes the library is located in
TOMCAT_HOME/bin/native/jni_connect.[dll, nlm, so]. or in LD_LIBRARY_PATH.
For different paths set "nativeLibrary" parameter.
The JniConnector will be self-enable only if JNI mode is detected.
-->
<JniConnector />
<!-- Apache AJP12 support. This is also used to shut down tomcat.
Parameter "address" defines network interface this Interceptor
"binds" to. Add it if you want to "bind" to just "127.0.0.1".
address="127.0.0.1"
Parameter "tomcatAuthentication", controls if Tomcat honors
( and uses ) auth done in HTTP Server or not, when true Tomcat does
not use in any way auth information provided by the HTTP Server.
true is the default.
tomcatAuthentication="false"
-->
<Ajp12Connector port="8007" />
<!-- Apache AJP13 support (mod_jk)
Parameter "address" defines network interface this Interceptor
"binds" to. Add it if you want to "bind" to just "127.0.0.1".
address="127.0.0.1"
Parameter "tomcatAuthentication", controls if Tomcat honors
( and uses ) auth done in HTTP Server or not, when true Tomcat does
not use in any way auth information provided by the HTTP Server.
true is the default.
tomcatAuthentication="false"
-->
<Ajp13Connector port="8009" />
<!--
Context definitions can be placed here ( not recommended ) or
in separate files. The ContextXmlReader will read all context
definitions ( you can customize the "base" filename ).
The default is conf/apps-[name].xml.
See conf/apps-examples.xml and conf/apps-admin.xml
-->
<Context path="/internet"
docBase="webapps/internet"
crossContext="true"
debug="0"
reloadable="true"
trusted="false" >
</Context>
</ContextManager>
</Server>The directory structure is:
<c:\>
<jdk13~1.1>
<jakart~1.3a>
<webapps>
<internet>
<jsp>
<web-inf>
<classes>
<servlets>
<beans>P/S: Actually, I would want to add c:\jdk13~1.1\jakart~1.3a\webapps into CLASSPATH, so that I can use the package as internet.web-inf.classes.servlet (instead of current version of classes.servlet).
However, the compiler would not let me compile because it says ";" expected at web-inf (I think the hyphen is not allowed). Is there any other solution?
Thanks and sorry to bother you again! -
Package not found when importing in JSP
I'm now using Weblogic 6.0 SP 2 for development. I did a test application, containing
EJBs, and a JSP. Package the applications to an EAR file. Then I deploy the test
application using hot-deploy - just drop the EAR into the domain\application folder.
When I call the JSP page, I get an error saying that the package I'm importing
is not found. What is wrong?? The test application works on Weblogic 5.1
My WAR file contains only the JSP and XML descriptor. Do I need to include classes
inside??? Don't think that is correct.
Please advise.
It was a bad mistake. Made an error in the application.xml, which refer to an invalid
JAR file. Made the correction and it works like magic.
Thanks :)
"Cameron Purdy" <[email protected]> wrote:
>WL 60 is tolerant of class location in that you can put all classes in
>the
>EJB JAR inside the EAR and it will work as well (sometimes better if
>there
>are xrefs) as carefully splitting classes between JAR and WAR.
>
>Chances are your context is not set up correctly. What is the web.xml?
>What
>is the URL you used? In WL 51 you provided the context in the "register"
>line in the weblogic.properties. Now that info is self-contained in the
>app
>itself.
>
>Peace,
>
>--
>Cameron Purdy
>Tangosol Inc.
><< Tangosol Server: How Weblogic applications are customized >>
><< Download now from http://www.tangosol.com/registration.jsp >>
>
>
>"Moong" <[email protected]> wrote in message
>news:[email protected]...
>>
>> I'm now using Weblogic 6.0 SP 2 for development. I did a test application,
>containing
>> EJBs, and a JSP. Package the applications to an EAR file. Then I deploy
>the test
>> application using hot-deploy - just drop the EAR into the
>domain\application folder.
>>
>> When I call the JSP page, I get an error saying that the package I'm
>importing
>> is not found. What is wrong?? The test application works on Weblogic
>5.1
>>
>> My WAR file contains only the JSP and XML descriptor. Do I need to
>include
>classes
>> inside??? Don't think that is correct.
>>
>> Please advise.
>>
>
>
-
"package not found" on import statement
can someone please try to help me. i'm new to oracle and i'm using java SE6
I have oracle 10gEX
i set the path to the .jar files
but when i try to compile my java file it tells me that the package
oracle.jdbc package does not exist.
please help - i am sorry if this is a "dumb" question, but i don't know where else to turn.
thank you
ps - does it matter if i use ojdbc6.jar or ojdbc14.jar? I have tried both and get the same error with eachuser598054,
Not sure I understand your question.
I assume you are using Oracle Database 10g Express Edition.
And since this forum is about java in the database, I also assume that you are trying to load a java class into the database.
If my assumptions are correct, then, as far as I know, there is no embedded JVM in Oracle 10g XE.
However, if this is a JDBC question, then I suggest you try the SQLJ/JDBC forum.
Good Luck,
Avi. -
Package com.sun.java.swing not found in import
I'm trying to show graphic information but the swing package does not load up don't know what is going on Any help is welcome
THIS IS THE LINE I GET WHEN I TRY TO IMPORT SWING
Package com.sun.java.swing not found in importI'm trying to show graphic information but the swing
package does not load up don't know what is going on
Any help is welcome
THIS IS THE LINE I GET WHEN I TRY TO IMPORT SWING
Package com.sun.java.swing not found in importThat's an old package reference. Try javax.swing -
Package javax.mail not found in import.
hi,
i am trying to develop a mail application using jsp, i have jaf1.0.1 and javamail API and the application was working fine on weblogic but when i tried to do the same thing on Apache server the Package javax.mail not found in import. is occuring,
What could be the problem can any one explain...
ThanksI think you have not placed mail.jar and activation.jar files in the /jre/lib/ext directory. Just place the mail.jar and activation.jar files in the jdk's /jre/lib/ext directory and check out. This will work for you.
Rkanthj -
Jakarta Tomcat error - 'Package MyUtils not found in import.'
Jakarta Tomcat - 'Package MyUtils not found in import.'
Can anyone help with this error please?
My JSP code P6.jsp contains :-
<%@page import="MyUtils.* ,java.util.*"%>
But, the package MyUtils with class file NameStore.class is not found.
The actual error at JSP translation time is:-
org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
C:\jdk1.4\jakarta-tomcat-4.0.1\work\Standalone\localhost\lab06\P6$jsp.java:3: Package MyUtils not found in import.
import MyUtils.* ;
^
My directory structure is listed below:-
%CATALINA_HOME/webapps/lab06( contains P6.jsp)/web-inf/classes/MyUtils/NameStore.class
Can anyone help please?
Thanks,John Withingtonput your package in your WEB-INF directory!
-
Import javax.servlet.* package not found
hai i am pradeep i am using java 1.5 and tomcat 5.5 version when i just include import javax.servlet.* in simple hellow word program and compile it shows error
import javax.servlet.* package not found
i set my class path to as
E:\set path="D:\Program Files\Java\jdk1.5.0_04\bin" and compile this it pops a message please help me i am using winxp os
by
pradeep sreedharanyou are not setting the classpath but the path, and they should both be written in capitals, PATH and CLASSPATH.
The classpath contains directories and jar files that contain the classes that need to be "visible" to your applications. The servlet classes are part of the file servlet-api.jar, which you can find in your tomcat directory, more specifically the common/lib sub directory.
I would expect your classpath to look something like this:
.;d:\program files\tomcat\common\lib\servlet-api.jar
You may also want to add the directory in which you are storing your projects, I don't know how you are building your applications.
You seem to be very new to this, so I would suggest you give this a read:
http://java.sun.com/docs/books/tutorial/getStarted/cupojava/index.html -
Package zzz not found in import (server side classes)
Hi,
I'm trying to use the "Web Application" feature in WL 5.10
(with no service pack). My application contains a couple of
servlets, a couple of server side classes, and a couple of
jsp pages.
I created the WEB-INF\classes directory structure both in
public_html and in my application's root directory. I
modified setEnv.bat to contain the two directories in
ClassPath and compilation of my servlets from the command
line completes OK (the servlets import a package that sits in
public_html\WEB-INF\classes).
However, when I try to import the same package from a jsp
file, I get the "package zzz not found in import" error
message. The trace shows that the java compiler invoked
after the servlet has been generated does not contain
public_html\WEB-INF\classes in the ClassPath, but contains
public_html\my_app\WEB-INF\classes.
How can I specify that the java compiler should look under
public_html\WEB-INF\classes for server side classes? Is there
another solution and am I even using the right approach?
Thanks,
Vladimir
Vladimir wrote:
>
> Hi,
>
> I'm trying to use the "Web Application" feature in WL 5.10
> (with no service pack). My application contains a couple of
You should install the service packs, your problem will probably
disappear then.
Web Apps are better supported with service packs.
> servlets, a couple of server side classes, and a couple of
> jsp pages.
>
> I created the WEB-INF\classes directory structure both in
> public_html and in my application's root directory. I
> modified setEnv.bat to contain the two directories in
> ClassPath and compilation of my servlets from the command
> line completes OK (the servlets import a package that sits in
> public_html\WEB-INF\classes).
>
> However, when I try to import the same package from a jsp
> file, I get the "package zzz not found in import" error
> message. The trace shows that the java compiler invoked
> after the servlet has been generated does not contain
> public_html\WEB-INF\classes in the ClassPath, but contains
> public_html\my_app\WEB-INF\classes.
>
> How can I specify that the java compiler should look under
> public_html\WEB-INF\classes for server side classes? Is there
> another solution and am I even using the right approach?
>
Setting the WEBLOGIC_CLASSPATH should do the trick. Look in weblogic
start file (On NT startWeblogic.cmd)
> Thanks,
> Vladimir
-
Package org.apache.axis.message not found in import.
Hi,
I am using axis to give response to another bpel process after any operation is completed of a BPEL process.I am using JDeveloper to deploy my bpel process.It has succesfully deployed process without any error but when bpel server is unpacking it and deploying it to oc4j,it get error:
Package org.apache.axis.message not found in import.
06/02/08 12:40:40 import org.w3c.dom.Element;import java.util.Calendar;import java.util.Date;import com.collaxa.cube.engine.ext.process;
import com.oracle.services.bpel.task.*;import com.oracle.bpel.client.BPELFault;import com.collaxa.cube.xml.schema.XMLSchemaUtils;import com.
oracle.bpel.client.util.WhereCondition;import com.oracle.bpel.client.Locator;import com.oracle.bpel.client.delivery.IDeliveryService;import
com.oracle.bpel.client.NormalizedMessage;import com.oracle.bpel.client.IInstanceHandle;import com.oracle.bpel.client.ServerException;import
com.oracle.services.bpel.Process.*;import org.apache.axis.message.*;import javax.xml.soap.Name;
I have manually copied all axis jars to
1)OraBPEL\integration\orabpel\system\appserver\oc4j\j2ee\home\applib
2)OraBPEL\integration\orabpel\lib
But no use.
Can anybody help!I've put a lot og jar files in the bpel-inf/lib but it looks as if they are not in the class path when I need them. The result is a ClassNotFoundException? Do I have to specify anything else? I've put a class in the bpel-inf/classes and it looks to me as if it is found by the BPM.
-
Package javax.swing not found in import!
I recently installed JDK 1.3.1_02 on WinNT4.0 and I cannot compile javax
packages without getting the following error:
Package javax.swing not found in import
I've tried every combination of modifying the CLASSPATH system variable
I can think of. I have no problem compiling java packages but not
javax packages. I followed the installation instructions to the letter.
What am I missing? Surely someone is running the same version of
the JDK I am on WinNT 4.0.Thanks again!!! I had an older version of javac running on my system any time I ran
outside of the bin where the latest javac was installed. I removed the older version
of the jdk and now I can compile from any directory. I really appreciate the help,
I was wracking my brain.
By the way, -version is not a valid flag for javac.exe, although it is for java.exe.
signed,
grateful in cyberspace -
Package ccj not found in import
I am still using Win 98. I have loaded the jdk1.2 in my computer, ok. When I try to use
import ccj.*;
in my program. It gave me an error message
--- Package ccj not found in import.
Any of you guys have came across the same problem and solved it?
ThanksThanks for the info. This is the very basic program that I was compiling:
import ccj.*;
public class Coins4
{ public static void main(String[] args)
System.out.print("How many pennies do you have? ");
int count = Console.inreadInt();
double total = count * 0.01;
System.out.println("Total value = ", total);
I'll try to look at your suggestions.
NSK_398 -
I am new to the Java technology and am running into some problems getting started. Initially, I was getting the following error: Class javax.swing.JOptionPane not found in import. After realizing that I needed to unzip the src.zip file, I did so. I tried compiling again and got the same message. I came across a website that talked about setting the CLASSPATH. So I set the class path like so: set CLASSPATH=.;C:\;c:\j2sdk1.4.2_04\src;. Finally! I got passed the first error. However, what followed was quite depressing. 50 Errors! Looks like the compiler can not find any class I import that starts with "sun.". I looked where I can see the javax folder and there is no sun folder. Did I miss something in the installation? Is there a workaround for this? I thought I read somewhere that you shouldn't import sun.* classes, but what happens when it is in the delivered packages? TIA Ryan
Well to start off... The file Src.zip only contains source files nothing compiled so it useless unless you want to look at the source code, the Java Class files are in a "Jar" file...
Set your (system) path to c:\j2sdk1.4.2_04\bin
your ClassPath should only point to the new class files that you created...
( I don't even have the ClassPath set on my computer)
And this link deals with setting the classpath...
http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/classpath.html
That should take care of it... Here are some links for you to check out...
The Java Tutorial
http://java.sun.com/docs/books/tutorial/index.html
Essentials of the Java Programming Language: A Hands-On Guide, Part 1 and 2
http://java.sun.com/developer/onlineTraining/Programming/BasicJava1/
http://java.sun.com/developer/onlineTraining/Programming/BasicJava2/
Language Essentials Short Course
http://java.sun.com/developer/onlineTraining/JavaIntro/contents.html
Tutorial Index
http://java.sun.com/developer/onlineTraining/index.html
- MaxxDmg...
- ' He who never sleeps... ' -
Jar not running is sarge and apache-ant shows error of package not found
Hello,
First of all I am not a java programmer. I work in C/C++/C#.
Currently I am dealing a game written in java (1.5) using netbeans 5.5.0 under windows xp. My target is to compile in my development machine and run in the clients machine. everything works fine in windows xp. I open the netbeans ide, load the necessary class libraries, build the project and run it. it runs without any problem.
The problem begins when I run the same project from linux (fedora). it doest not run. It shows some error.
<error platform="fedora 7">
Exception in thread "AWT-EventQueue-0" java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it.
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:159)
at java.awt.Window.<init>(Window.java:406)
at java.awt.Frame.<init>(Frame.java:402)
at java.awt.Frame.<init>(Frame.java:367)
at javax.swing.JFrame.<init>(JFrame.java:163)
at netbeansapplication.nbApplication.<init>(nbApplication.java:52)
at netbeansapplication.nbApplication$14.run(nbApplication.java:453)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
</error>
Some of these error were resolved when I set the DISPLAY variable (export DISPLAY="127.0.0.1:0") but the other errors were still there.
But when I open this same project in netbeans and resolve the dependencies with class libraries it works ok after compiling.
I can run it from console (java -jar ...)
And again the same source tree shows the following error when I am in windows !!! (by java -jar ... command)
<error platform="WinXPSP2">
Exception in thread "AWT-EventQueue-0" java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:468)
at java.lang.Integer.parseInt(Integer.java:497)
at cherrygame.global.readConfigForStickProtection(global.java:2060)
at cherrygame.nbCherryGame.<init>(nbCherryGame.java:243)
at netbeansapplication.nbApplication.<init>(nbApplication.java:46)
at netbeansapplication.nbApplication$14.run(nbApplication.java:453)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
</error>
I see that netbeans uses ant to compile project in the background.
then I tried using ant to compile.
doing only `#ant compile` where build.xml resides does the compilation.
after that I try to run it (by java -jar ...). again the above error shows up.
What would I do?
If I compile it with netbeans in machine A then it runs well in A but not in machine B.
If I compile it with ANT in machine A then it doesn't run in A, no chance for machine B.
the contents of my build xml is here
<code file="build.xml">
<![CDATA[
<?xml version="1.0" encoding="UTF-8"?>
<!-- You may freely edit this file. See commented blocks below for -->
<!-- some examples of how to customize the build. -->
<!-- (If you delete it and reopen the project it will be recreated.) -->
<project name="NetBeansApplication" default="default" basedir=".">
<description>Builds, tests, and runs the project NetBeansApplication.</description>
<import file="nbproject/build-impl.xml"/>
<!--
There exist several targets which are by default empty and which can be
used for execution of your tasks. These targets are usually executed
before and after some main targets. They are:
-pre-init: called before initialization of project properties
-post-init: called after initialization of project properties
-pre-compile: called before javac compilation
-post-compile: called after javac compilation
-pre-compile-single: called before javac compilation of single file
-post-compile-single: called after javac compilation of single file
-pre-compile-test: called before javac compilation of JUnit tests
-post-compile-test: called after javac compilation of JUnit tests
-pre-compile-test-single: called before javac compilation of single JUnit test
-post-compile-test-single: called after javac compilation of single JUunit test
-pre-jar: called before JAR building
-post-jar: called after JAR building
-post-clean: called after cleaning build products
(Targets beginning with '-' are not intended to be called on their own.)
Example of inserting an obfuscator after compilation could look like this:
<target name="-post-compile">
<obfuscate>
<fileset dir="${build.classes.dir}"/>
</obfuscate>
</target>
For list of available properties check the imported
nbproject/build-impl.xml file.
Another way to customize the build is by overriding existing main targets.
The targets of interest are:
-init-macrodef-javac: defines macro for javac compilation
-init-macrodef-junit: defines macro for junit execution
-init-macrodef-debug: defines macro for class debugging
-init-macrodef-java: defines macro for class execution
-do-jar-with-manifest: JAR building (if you are using a manifest)
-do-jar-without-manifest: JAR building (if you are not using a manifest)
run: execution of project
-javadoc-build: Javadoc generation
test-report: JUnit report generation
An example of overriding the target for project execution could look like this:
<target name="run" depends="NetBeansApplication-impl.jar">
<exec dir="bin" executable="launcher.exe">
<arg file="${dist.jar}"/>
</exec>
</target>
Notice that the overridden target depends on the jar target and not only on
the compile target as the regular run target does. Again, for a list of available
properties which you can use, check the target you are overriding in the
nbproject/build-impl.xml file.
-->
<target name="-post-jar">
<jar update="true" destfile="${dist.jar}">
<zipfileset src="${libs.swing-layout.classpath}"/>
<zipfileset src="${libs.addMoney.classpath}"/>
<zipfileset src="${libs.NormalWindow.classpath}"/>
</jar>
</target>
</project>
]]>
</code>
my directory contents is here. note. I have 2 packages "cgwindow2" and "NormalWindow" for class libraries and my main application is "CherryGame". The game is "game.jar" in the CherryGame folder.
<listing foldername="CherryGame">
D:\src\java\CherryGame\build.xml
D:\src\java\CherryGame\BW.txt
D:\src\java\CherryGame\config.txt
D:\src\java\CherryGame\config.txt.lin
D:\src\java\CherryGame\flopsfile.txt
D:\src\java\CherryGame\game.jar
D:\src\java\CherryGame\LWMoneyfile.txt
D:\src\java\CherryGame\mfile.txt
D:\src\java\CherryGame\mfile2.txt
D:\src\java\CherryGame\mfile3.txt
D:\src\java\CherryGame\TotalRollsTillBigWin.txt
D:\src\java\CherryGame\UserFile.txt
D:\src\java\CherryGame\build\classes\cherrygame\addMoneyFrame.class
D:\src\java\CherryGame\build\classes\cherrygame\addMoneyPanel.class
D:\src\java\CherryGame\build\classes\cherrygame\cardsPanel.class
D:\src\java\CherryGame\build\classes\cherrygame\cardsWindow$1.class
D:\src\java\CherryGame\build\classes\cherrygame\cardsWindow.class
D:\src\java\CherryGame\build\classes\cherrygame\cherryGameBackPanel.class
D:\src\java\CherryGame\build\classes\cherrygame\cherryWindow.class
D:\src\java\CherryGame\build\classes\cherrygame\customBorderCherryGame.class
D:\src\java\CherryGame\build\classes\cherrygame\FixedGlassPane.class
D:\src\java\CherryGame\build\classes\cherrygame\global.class
D:\src\java\CherryGame\build\classes\cherrygame\helpPanelOne.class
D:\src\java\CherryGame\build\classes\cherrygame\imagesPanel.class
D:\src\java\CherryGame\build\classes\cherrygame\messageWindow.class
D:\src\java\CherryGame\build\classes\cherrygame\messageWindow2.class
D:\src\java\CherryGame\build\classes\cherrygame\messageWindow3.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$1.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$10.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$11.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$12.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$13.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$14.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$15.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$16.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$17.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$18.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$19.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$2.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$20.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$21.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$22.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$23.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$24.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$25.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$26.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$27.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$28$1.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$28$2.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$28.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$29.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$3.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$30.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$31.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$32.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$33.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$34.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$35.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$36.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$37.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$38.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$39.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$4.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$40.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$41.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$42.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$43.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$44.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$45.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$46.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$5.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$6.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$7.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$8.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$9.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame$MyTask.class
D:\src\java\CherryGame\build\classes\cherrygame\nbCherryGame.class
D:\src\java\CherryGame\build\classes\cherrygame\panelMessage.class
D:\src\java\CherryGame\build\classes\cherrygame\panelMessage2.class
D:\src\java\CherryGame\build\classes\cherrygame\panelMessage3.class
D:\src\java\CherryGame\build\classes\lpt\LPT.class
D:\src\java\CherryGame\build\classes\lpt\events\Events.class
D:\src\java\CherryGame\build\classes\lpt\events\LPTEvent.class
D:\src\java\CherryGame\build\classes\lpt\events\LPTEventListener.class
D:\src\java\CherryGame\build\classes\lpt\ieee1284\PPParallelPort.class
D:\src\java\CherryGame\build\classes\netbeansapplication\customBorder.class
D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$1.class
D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$10.class
D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$11.class
D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$12.class
D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$13.class
D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$14.class
D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$2.class
D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$3.class
D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$4.class
D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$5.class
D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$6.class
D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$7.class
D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$8.class
D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication$9.class
D:\src\java\CherryGame\build\classes\netbeansapplication\nbApplication.class
D:\src\java\CherryGame\dist\NetBeansApplication.jar
D:\src\java\CherryGame\dist\javadoc\package-list
D:\src\java\CherryGame\dist\javadoc\stylesheet.css
D:\src\java\CherryGame\dist\javadoc\resources\inherit.gif
D:\src\java\CherryGame\nbproject\build-impl.xml
D:\src\java\CherryGame\nbproject\genfiles.properties
D:\src\java\CherryGame\nbproject\project.properties
D:\src\java\CherryGame\nbproject\project.xml
D:\src\java\CherryGame\nbproject\private\private.properties
D:\src\java\CherryGame\nbproject\private\private.xml
D:\src\java\CherryGame\src\customBorder.java
D:\src\java\CherryGame\src\nbApplication.form
D:\src\java\CherryGame\src\nbApplication.java
D:\src\java\CherryGame\src\cherrygame\addMoneyFrame.form
D:\src\java\CherryGame\src\cherrygame\addMoneyFrame.java
D:\src\java\CherryGame\src\cherrygame\addMoneyPanel.form
D:\src\java\CherryGame\src\cherrygame\addMoneyPanel.java
D:\src\java\CherryGame\src\cherrygame\cardsPanel.java
D:\src\java\CherryGame\src\cherrygame\cardsWindow.form
D:\src\java\CherryGame\src\cherrygame\cardsWindow.java
D:\src\java\CherryGame\src\cherrygame\cherryGameBackPanel.form
D:\src\java\CherryGame\src\cherrygame\cherryGameBackPanel.java
D:\src\java\CherryGame\src\cherrygame\cherryWindow.java
D:\src\java\CherryGame\src\cherrygame\customBorderCherryGame.java
D:\src\java\CherryGame\src\cherrygame\global.java
D:\src\java\CherryGame\src\cherrygame\helpPanelOne.form
D:\src\java\CherryGame\src\cherrygame\helpPanelOne.java
D:\src\java\CherryGame\src\cherrygame\imagesPanel.java
D:\src\java\CherryGame\src\cherrygame\messageWindow.form
D:\src\java\CherryGame\src\cherrygame\messageWindow.java
D:\src\java\CherryGame\src\cherrygame\messageWindow2.form
D:\src\java\CherryGame\src\cherrygame\messageWindow2.java
D:\src\java\CherryGame\src\cherrygame\messageWindow3.form
D:\src\java\CherryGame\src\cherrygame\messageWindow3.java
D:\src\java\CherryGame\src\cherrygame\nbCherryGame.form
D:\src\java\CherryGame\src\cherrygame\nbCherryGame.java
D:\src\java\CherryGame\src\cherrygame\panelMessage.form
D:\src\java\CherryGame\src\cherrygame\panelMessage.java
D:\src\java\CherryGame\src\cherrygame\panelMessage2.form
D:\src\java\CherryGame\src\cherrygame\panelMessage2.java
D:\src\java\CherryGame\src\cherrygame\panelMessage3.form
D:\src\java\CherryGame\src\cherrygame\panelMessage3.java
D:\src\java\CherryGame\src\lpt\LPT.java
D:\src\java\CherryGame\src\lpt\events\Events.java
D:\src\java\CherryGame\src\lpt\events\LPTEvent.java
D:\src\java\CherryGame\src\lpt\events\LPTEventListener.java
D:\src\java\CherryGame\src\lpt\ieee1284\PPParallelPort.java
</listing>
<listing foldername="NormalWindow">
D:\src\java\NormalWindow\build.xml
D:\src\java\NormalWindow\manifest.mf
D:\src\java\NormalWindow\build\classes\normalwindow\global.class
D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$1.class
D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$10.class
D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$11.class
D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$12.class
D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$13.class
D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$14.class
D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$15.class
D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$16.class
D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$17.class
D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$2.class
D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$3.class
D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$4.class
D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$5.class
D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$6.class
D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$7.class
D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$8.class
D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow$9.class
D:\src\java\NormalWindow\build\classes\normalwindow\NormalWindow.class
D:\src\java\NormalWindow\build\classes\normalwindow\PasswordDialog$1.class
D:\src\java\NormalWindow\build\classes\normalwindow\PasswordDialog$2.class
D:\src\java\NormalWindow\build\classes\normalwindow\PasswordDialog$3.class
D:\src\java\NormalWindow\build\classes\normalwindow\PasswordDialog$4.class
D:\src\java\NormalWindow\build\classes\normalwindow\PasswordDialog$5.class
D:\src\java\NormalWindow\build\classes\normalwindow\PasswordDialog.class
D:\src\java\NormalWindow\dist\NormalWindow.jar
D:\src\java\NormalWindow\dist\README.TXT
D:\src\java\NormalWindow\dist\_normalwindow.jar
D:\src\java\NormalWindow\dist\lib\swing-layout-1.0.jar
D:\src\java\NormalWindow\nbproject\build-impl.xml
D:\src\java\NormalWindow\nbproject\genfiles.properties
D:\src\java\NormalWindow\nbproject\project.properties
D:\src\java\NormalWindow\nbproject\project.xml
D:\src\java\NormalWindow\nbproject\private\private.properties
D:\src\java\NormalWindow\nbproject\private\private.xml
D:\src\java\NormalWindow\src\normalwindow\global.java
D:\src\java\NormalWindow\src\normalwindow\NormalWindow.form
D:\src\java\NormalWindow\src\normalwindow\NormalWindow.java
D:\src\java\NormalWindow\src\normalwindow\PasswordDialog.form
D:\src\java\NormalWindow\src\normalwindow\PasswordDialog.java
</listing>
<listing foldername="cgwindow2">
D:\src\java\cgwindow2\build.xml
D:\src\java\cgwindow2\manifest.mf
D:\src\java\cgwindow2\mfile.txt
D:\src\java\cgwindow2\UserFile.txt
D:\src\java\cgwindow2\build\classes\addmoney\addMoneyPanel.class
D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$1.class
D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$10.class
D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$11.class
D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$12.class
D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$13.class
D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$14.class
D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$2.class
D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$3.class
D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$4.class
D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$5.class
D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$6.class
D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$7.class
D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$8.class
D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow$9.class
D:\src\java\cgwindow2\build\classes\addmoney\addMoneyWindow.class
D:\src\java\cgwindow2\build\classes\addmoney\customBorderForAddMoneyWindow.class
D:\src\java\cgwindow2\build\classes\addmoney\global.class
D:\src\java\cgwindow2\dist\cgwindow2.jar
D:\src\java\cgwindow2\dist\README.TXT
D:\src\java\cgwindow2\dist\lib\swing-layout-1.0.jar
D:\src\java\cgwindow2\nbproject\build-impl.xml
D:\src\java\cgwindow2\nbproject\genfiles.properties
D:\src\java\cgwindow2\nbproject\jax-ws.xml
D:\src\java\cgwindow2\nbproject\project.properties
D:\src\java\cgwindow2\nbproject\project.xml
D:\src\java\cgwindow2\nbproject\private\private.properties
D:\src\java\cgwindow2\nbproject\private\private.xml
D:\src\java\cgwindow2\src\addmoney\addMoneyPanel.form
D:\src\java\cgwindow2\src\addmoney\addMoneyPanel.java
D:\src\java\cgwindow2\src\addmoney\addMoneyWindow.form
D:\src\java\cgwindow2\src\addmoney\addMoneyWindow.java
D:\src\java\cgwindow2\src\addmoney\customBorderForAddMoneyWindow.java
D:\src\java\cgwindow2\src\addmoney\global.java
</listing>
About my thread subject, my clients machine is a debian sarge 3.0 and when I compiled it there with ANT It says, "normalwindow" package not found. other 2 errors were due to "normalwindow".
Edited by: mokaddim on Sep 12, 2007 2:08 PMJulio.Faerman wrote:
Hello,
I am trying to run my annotation processor using ant.
I already built the processor, the javax.annotation.processor.Processor file is in the correct place with the correct content.
The jar with the processor is in the classpath (i can see it in ant -v), but it does not process my classes. in fact, i get the warning:
warning: Annotation processing without compilation requested but no processors were found.Do i have to specify -processor or -processorpath or can i just leave it to the default classpath scanning?When -processor is not given, a service loader is used to find the annotation processors (if any). In addition to the class files of the process, to allow your processor to be found as a service, make sure you've also provided the needed META-INF data in the jar file. The general service file format is described in
http://java.sun.com/javase/6/docs/api/java/util/ServiceLoader.html
That said, I'd recommend setting an explicit processor path separate from your general classpath.
Maybe you are looking for
-
Recently created new user name. Need to change it. I do not want to change my entire apple id account information. The only information I can find in communities, has to do with the previous Mobile Me stuff and not the new iCloud stuff. Again, I
-
Hi All, How to handle erroneous records in PSA. Should I consult R/3 consultants to correct them...
-
I have a creative cloud account and ever since I moved to it my BC does not work. I am getting this error: Error: Does not have enough privileges to create an Adobe Business Catalyst temporary site. Please contact the site administrator. Thought on
-
Does writeback functionality support writeback into text(csv) file? Error I receive when trying save chnages is follow: State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43093] An error
-
Sprite sheet from PhotoShop CC 2014 layers to Edge Animate?
Hi The Photoshop CC 2014 script that takes layers and generates a sprite sheet to the latest Edge Animate does not appear to work correctly. Unless I"m missing something very obvious (that isn't in the instructions below provided by Adobe), it doesn'