Not able to compile
Hi all,
I've just downloaded jdk1.2.2,and installed it in E:\.I've written a simple program x.java and stored it in E:\.Iam working on Windows NT 4.0(SP 5) machine.
I've set the path as E:\jdk1.2.2\bin
and classpath as
.;e:\jdk1.2.2\jre\lib\rt.jar;e:\jdk1.2.2\lib\tools.jar.
Now i opened dos prompt and iam in c:\,,and when i print javac x.java and press enter i get the error:\can't read x.java.But when change from c:\ to e:\ i can compile and run.But this is not what i want,i want to compile my program from any directory i wish,like c:\ , D:\.., i think this is a classpath problem.Could any one please help me regarding this..Thank u Very Much in advance and i really appreciate u'r response.
Sony,,
Hi,
Since u r keeping u'r source file in E drive, its obvious that u must compile it from the E drive. The OS cann't search for source files from different drives, without mentioning explicitly.
U can compile by giving a command like
javac E:\x.java
I guess u want to run u'r java program from any drive... for that u need to compile the src file (.java) and put the class file anywhere and include the path of the class file in the classpath. Once u included in the classpath u can run the program from any drive..
Hope it helps
Saran
Similar Messages
-
I am not able to compile a program on my mac...
I am not able to compile a program on my mac; i am getting the following message :"Class names, 'ClassName.Java', are only accepted if annotation processing is explicitly requested". I am new to programming, and I am using a MAC. Any suggestions? I am typing: "Javac ClassName.Java" at the command prompt.
You might want to be posting to the developer forum here:
https://discussions.apple.com/community/developer_forums -
Hello
I would like some one to help me.
I have WindowsXp professional on my Laptop. I downloaded jdk and I am able to compile and run the core java files.
I downloaded j2sdk1.4.2_10 from the website www.java.sun.com. and then set the path in the environment variables. But in the command promt I was not able to compile the servlet.
Could you please guide me about what more has to be done so that The servlet can compile.
Thanking you**MAJOR SPAMMING SCUM BAG ALERT**
I was puzzled in that you asked a SQL Server question in one post and then in another thread asked a Oracle related question... and then I noticed you had cross posted one of your questions at JavaRanch and I was more annoyed....
and then I found this....
http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=10&t=002447
You sir -> Michael Byrd -> are a scum sucking dirtbag.
To quickly explain. Mr. Byrd posts his messages (which he copies wholesale from other posters) so that he can get better google caching for the website listed in his profile.
This is such scummy behaviour I don't even know what to say. Other than basically everyone that has ever helped you had totally wasted their time.
You are scum. Your company is scum. I hope you rot in hell. -
Not able to compile wrapped package bodies.
Hi All
Can anybody pls help me finding me the reason why I m not able to compile .plb (wrapped package body). There are no compilation errors. But when I run the .plb file (as @xyz.plb), sqlplus window hangs. No error shown. Everytime I had to close the window after waiting for 8-10 minutes.
This is happening only with 11 files out of 200.Rest were compiled.
Any ideas? Do we have any other way to wrap than using pl/sql wrap utility or pl/sql plug-in for wrapping(which is actually the same as former)??
ThanksInAdvance!!
Keep striking the iron until it's hot!yes, I did check for locks from pl/sql developer only. No Locks.
I waited for 10 minutes for a 6 kb .plb file to get compiled. But had to close the session after that.
I am using oracle 10g, pl/sql developer 7.1.0.1337
sql*plus Release 10.2.0.2.0 -
Not Able to compile Servlet from ?
Hi All,
I am not able to compile Servlet from my package:
1) I Have set the CLASSPATH Variable using below line in System Variables:
C:\CC4\prog\jakarta-tomcat-4.1.30\common\lib\servlet.jar
2) Also Set the CATALINA_HOME with value
C:\CC4\prog\jakarta-tomcat-4.1.30
as per above setting servlet should be compiled but still i m getting error message:
1) C:\CC4\prog\jakarta-tomcat-4.1.30\project\classes\com\example>javac ListenerTest
er.java
ListenerTester.java:17: cannot resolve symbol
symbol : class Dog
location: class com.example.ListenerTester
Dog dog = (Dog) getServletContext().getAttribute("dog");
^
ListenerTester.java:17: cannot resolve symbol
symbol : class Dog
location: class com.example.ListenerTester
Dog dog = (Dog) getServletContext().getAttribute("dog");
^
2 errors
2) Error while compiling other file:
C:\CC4\prog\jakarta-tomcat-4.1.30\project\classes\com\example>javac MyServletCon
textListener.java
MyServletContextListener.java:12: cannot resolve symbol
symbol : class Dog
location: class com.example.MyServletContextListener
Dog d = new Dog(dogBreed);
^
MyServletContextListener.java:12: cannot resolve symbol
symbol : class Dog
location: class com.example.MyServletContextListener
Dog d = new Dog(dogBreed);
^
2 errors
So what could be the posible solution here :
do reply !!!
please
Thanks
prabhatI have added servlet.jar in the classpath. But the program is not compiling.The error message says that it can not find classes like ServletConfig, ServletException, Cookie etc. Please help.
-
NOT able to compile servlet and EE java files
hi
i am not able to compile java files of servlet
it is showing cannot resolve symbol for servlet classes
since i have installed tomcat j2sdk1.4.2_06 and also facing problem with the classpath since i have to set the classpath everytime as i have already created it in environment variables
show me the way out**MAJOR SPAMMING SCUM BAG ALERT**
I was puzzled in that you asked a SQL Server question in one post and then in another thread asked a Oracle related question... and then I noticed you had cross posted one of your questions at JavaRanch and I was more annoyed....
and then I found this....
http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=10&t=002447
You sir -> Michael Byrd -> are a scum sucking dirtbag.
To quickly explain. Mr. Byrd posts his messages (which he copies wholesale from other posters) so that he can get better google caching for the website listed in his profile.
This is such scummy behaviour I don't even know what to say. Other than basically everyone that has ever helped you had totally wasted their time.
You are scum. Your company is scum. I hope you rot in hell. -
Hi Java Gurus
I am not able to compile this code Pl help
class For {
public static void main (String [] args) {
int I = 0;
show:
if (I < 2) {
System.out.print("I is " + I);
I++;
continue show;
}class For {
public static void main (String [] args) {
for(int i = 0; i < 2; i++){
System.out.print("I is " + i);
}this does the same as your program: the for loop is the best for this, but i agree with the others read some tutorials on loops in java. As posted before java has no concept of the GoTo syntax, loops or recursion are your only options -
I am not able to compile forms and my form application is close
Hi All,
There is strange problem arising in my system. I am not able compile the forms from my machine.MY machine is having Vista as OS and I have installed the latest 10g release of forms (the vista compaitable version). Also I am not able to open any of the existing and developed forms for one One Oracle Retail product. The existing forms were build on 10g version 2. (10.0.2). But when I am trying to open the forms, the application hangs immediately and then its says explorer is closing, the program has some problems. The same error comes in both the cases.
Thanks & Regards,
DebabrataDebabrata,
First You must read this topic from Steve Cosner:
Forms 10g installed and running on Windows Vista
After You must to install Forms 10g under Window Vista following the instruction in the topic.
At this time Form Builder work fine; but the Compiler called from Framework return errors and the program hang.
I have tried to run frmcmp.exe outside the Form Builder and the program newly abort.
I have sended my Form to Steve Cosner and I attend a reply.
Bye
Gaetano -
OCI demos-not able to compile on red hat Linux
Can anyone narrate how can I get the OCI routines (demo) working.
I feel that they are failing to run. what are the check points needed
that I should verify that an OCI program executes.
Does this needs any special settings or running any script files
before hand?.
I am running on Red hat 6.1 and Oracle 8.1.6 based on Linux.
when I detected the installations, following program folders are
missing
1. plsql/public
2. lib/libextp.a
I used one of the porgrams in the sample oci13.c and changed the user
account and password. I then compiled as follows
gcc -I(include files) -c oci13new.c
But after this it gave me successfully the object file. But I could not
able to link this to produce any a.out file!.
Can anyone suggest how can I do this?
NatStep 1) is needed, you cannot got directly from 8.1.5 to 10g.
When you are on level 8.1.7.4 (Step 2)) there are alternatives to export/import, for example DBUA. But first, you are right, you have to build up a 8.1.7.4 database on Linux, because this release does not allow other methods of transportation across different platforms. Or you import directly into a new built database on Linux.
For database upgrade see
http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14238/preup.htm#sthref52
Step 3) is described step-by-step here:
http://www.oracle.com/technology/pub/articles/chan_sing2rac_install.html -
Hi
I am new to J2me technology. i downloaded cldc and midp. i have jdk already installed at c:\program files\java\jdk.
when i try to compile i got error saying not able to find javax.microedition.midlet.* package
please tell me how to install cldc and midp to run my first programHello
I would suggest using an IDE for writing the code (like eclipse maybe) and testing it on Sun's Wireless Toolkit which comes already with all the needed libraries.
Of course you can find all this information by searching google..
Mihai -
Not able to compile .pll or .fmb through installation file in R12 Upgrade.
While compiling .pll or .fmb individually using this command
1. frmcmp_batch module=$AU_TOP/forms/US/XXIB_I10_BA_BALEVEL.fmb userid=apps/appla1na output_file=$XXIB_TOP/forms/US/XXIB_I10_BA_BALEVEL.fmx compile_all=special batch=yes
OR
2.frmcmp_batch module=XXIB_I10_EXT_SEARCH.fmb userid=apps/appla1na output_file=$XXIB_TOP/forms/US/XXIB_I10_EXT_SEARCH.fmx compile_all=special
The file gets compiled and .plx & .fmx is generated.
Same command in .install file doesnt get compiled. Sample given below
# +======================================================================+
# Generation of English Forms
# +======================================================================+
echo "------------------------------- " | tee -a $LOG_FILE
echo "Generating Forms in English ... " | tee -a $LOG_FILE
echo "------------------------------- \n" | tee -a $LOG_FILE
export FORMS_PATH=$AU_TOP/resource:$AU_TOP/forms/US:$XXIB_TOP/forms/US:$FORMS_PATH
#exportFORMS60_PATH=$XXIB_TOP/forms/US:$AU_TOP/resource:$XXIB_TOP/resource:$AU_TOP/forms/US:$FORMS60_PATH
rmf $XXIB_TOP/forms/US/XXIB_I10_BA_BALEVEL.fmx
#commented out for R12 Upgrade by KISHAN WIPRO
#f60gen $XXIB_TOP/forms/US/XXIB_I10_BA_BALEVEL.fmb $APPS_LOGIN_ID Compile_All=YES output_file=$XXIB_TOP/forms/US/XXIB_I10_BA_BALEVEL.fmx >> $LOG_FILE 2>> $LOG_FILE
#command used to compile in R12
frmcmp_batch module=$AU_TOP/forms/US/XXIB_I10_BA_BALEVEL.fmb userid=$APPS_LOGIN_ID output_file=$XXIB_TOP/forms/US/XXIB_I10_BA_BALEVEL.fmx compile_all=special batch=yes
if [ $? -eq 0 ];
then
echo "Billed Accounts Level Form Generation successful. " | tee -a $LOG_FILE
else
echo "Billed Accounts Level Form Generation failed. \n Please check the log file for error details and re-run." | tee -a $LOG_FILE
exit 1
fi
Need some help urgent
Contact me @ [email protected]
Edited by: 862540 on Oct 2, 2011 11:23 PMHi,
I have tried it, by inserting it before the form compilation code the echo command works , but then while compilation it gives me an error as file not found . This file XXIB_I10_BA_BALEVEL.fmb is existing in the given path . Is it a problem with the userid being given so. As i am able to compile the file individually(During individual compilation i have hard coded the username and password), not through a installlation file . Have even checked the FORMS_PATH even thats right .
Command used in installation file :
# +======================================================================+
echo "------------------------------- " | tee -a $LOG_FILE
echo "Generating Forms in English ... " | tee -a $LOG_FILE
echo "------------------------------- \n" | tee -a $LOG_FILE
export FORMS_PATH=$AU_TOP/resource:$AU_TOP/forms/US:$XXIB_TOP/forms/US:$FORMS_PATH
#export FORMS60_PATH=$XXIB_TOP/forms/US:$AU_TOP/resource:$XXIB_TOP/resource:$AU_TOP/forms/US:$FORMS60_PATH
rmf $XXIB_TOP/forms/US/XXIB_I10_BA_BALEVEL.fmx
#commented out for R12 Upgrade by KISHAN WIPRO
#f60gen $XXIB_TOP/forms/US/XXIB_I10_BA_BALEVEL.fmb $APPS_LOGIN_ID Compile_All=YES output_file=$XXIB_TOP/forms/US/XXIB_I10_BA_BALEVEL.fmx >> $LOG_FILE 2>> $LOG_FILE
echo "Starting with compilation of English Form BA_BALEVEL"
frmcmp_batch module=XXIB_I10_BA_BALEVEL.fmb userid=$APPS_LOGIN_ID output_file=$XXIB_TOP/forms/US/XXIB_I10_BA_BALEVEL.fmx compile_all=special
if [ $? -eq 0 ];
then
echo "Billed Accounts Level Form Generation successful. " | tee -a $LOG_FILE
else
echo "Billed Accounts Level Form Generation failed. \n Please check the log file for error details and re-run." | tee -a $LOG_FILE
exit 1
fi
Not able to diagonis the error .
Regards
KISHAN.M.G -
Not able to compile from command prompt
Hi,
I have a javafx class which calls java object. I'm able to compile project from NetBeans but not from command prompt.
When i compile from command prompt compiler shows error saying it can not identify symbol (treats java class name as symbol).
I have already compiled my java class, and is in same dir as my java fx class.
Any reason for such beahviour?? and some solution plsssimport java.lang.Math;
import javafx.application.*;
import javafx.input.*;
import javafx.scene.*;
import java.lang.System;
import com.sun.javafx.runtime.sequence.*;
import java.util.Iterator;
import dekoh.photo.command.ImageService;
public class ImageRotater extends CustomNode{
public attribute image: Image;
public attribute x: Number;
public attribute y: Number;
public attribute angle: Number;
private attribute startX: Number = 0.0;
private attribute startY: Number = 0.0;
private attribute startA: Number = 0.0;
private attribute moverOpacity: Number;
private attribute rotatorOpacity: Number;
private function toggle(mo:Boolean, ro:Boolean): Void {
moverOpacity = if (mo) 0.5 else 0.0;
rotatorOpacity = if (ro) 0.5 else 0.0;
public function create(): Node {
var cx = image.width / 2.0;
var cy = image.height / 2.0;
var mover = Circle {
cursor: Cursor.CROSSHAIR,
radius: 20,
centerX: cx, centerY: cy,
anchorX: bind x + cx,
anchorY: bind y + cy,
fill: bind Color.rgb(200, 200, 255, moverOpacity),
onMouseMoved: function(e:MouseEvent):Void {
toggle(true,false);
onMouseExited: function(e:MouseEvent):Void {
toggle(false,false);
onMousePressed: function(e:MouseEvent):Void {
toggle(true,false);
startX = e.getStageX();
startY = e.getStageY();
onMouseDragged: function(e:MouseEvent):Void {
toggle(true,false);
x = x + e.getStageX() - startX;
y = y + e.getStageY() - startY;
startX = e.getStageX();
startY = e.getStageY();
var rotator = ShapeSubtract {
cursor: Cursor.HAND,
fill: bind Color.rgb(200, 200, 255, rotatorOpacity),
onMouseExited: function(e:MouseEvent):Void {
toggle(false,false);
a: Circle {
centerX: cx, centerY: cy, radius: mover.radius * 3.0,
b: Circle {
centerX: cx, centerY: cy, radius: mover.radius,
var border = Rectangle{
width: image.width, height: image.height
arcWidth: 20, arcHeight: 20,
return Group {
anchorX: cx, anchorY: cy,
rotate: bind angle,
translateX: bind x,
translateY: bind y,
content: [ ImageView {
clip: border,
image: image, clipAntialiased: true,
}, DelegateShape {
shape: border,
stroke: Color.rgb(200, 200, 200, 1.0), strokeWidth: 4,
}, rotator, mover ]
var contents:ImageRotater[] = [];
var i = 0;
var urls = ImageService.getUrlList(); // calling static method of java class
var j=0;
while(j<urls.size()){
var img:Images = urls.get(j) as Images; // another java class.
var imgRot = ImageRotater {
image: Image { url: img.getUrl() },
x:img.getX(), y:img.getY(), angle:90
insert imgRot into contents;
j++;
Frame {
title: "JavaFX"
width: 1080, height: 480
visible: true
closeAction: function() {
java.lang.System.exit(0);
stage: Stage {
fill: null
content: contents
On Compiling from command prompt
F:\dekohv6\butterfly\installer\samples\picApp\src\dekoh\photo\command>javafxc ImageRotater.fx
ImageRotater.fx:17: cannot find symbol
symbol : class ImageService
location: package dekoh.photo.command
import dekoh.photo.command.ImageService;
^
ImageRotater.fx:115: cannot find symbol
symbol : variable ImageService
location: class dekoh.photo.command.ImageRotater
var urls = ImageService.getUrlList();
^
ImageRotater.fx:118: cannot find symbol
symbol : variable Images
location: class dekoh.photo.command.ImageRotater
var img:Images = urls.get(j) as Images;
^
ImageRotater.fx:118: cannot find symbol
symbol : variable Images
location: class dekoh.photo.command.ImageRotater
var img:Images = urls.get(j) as Images;
^ -
Not able to compile java program
Hi
I a using Netweaver to deelope the java code.I have written a javaprogram .But when choose the option Run as
a javaApplication it giving the following error
Source locator doesnot Exist:org.eclipse.jdt.debug.ui.javaSourceLocatorHi,
I am able to compile and run perfectly Java programs. The steps goes as:
1. File --> New --> Project --> Java --> Java Project --> give a <project name> --> Finish
2. File --> New --> Class --> give a classname, and package name.
3. Put main method and give a System.out.println("Hello");
Source code:
package com.i3l.trg;
public class HelloWorld {
public static void main(String[] args) {
System.out.println("Hello");
4.Goto Run --> Run As --> 2 Java Application.
5. You will get a output as "Hello" in java console.
Cheers!!!
Sukanta Rudra
PS: Liberally donate points.
The full source code is -
VMWare Workstation not able to compile modules
I have an installation of vmware workstation that I don't use very often, and recently it hasn't been able to start due to an error with the module compiling process.
The specific error is:
2014-02-26T14:39:15.967-06:00| appLoader| W110: Unable to load libgcr.so.0 from /usr/lib/vmware/lib/libgcr.so.0/libgcr.so.0: /usr/lib/libgcrypt.so.11: version `GCRYPT_1.2' not found (required by /usr/lib/vmware/lib/libgcr.so.0/libgcr.so.0)
2014-02-26T14:39:15.967-06:00| appLoader| W110: Unable to load dependencies for /usr/lib/vmware/lib/libvmware-modconfig.so/libvmware-modconfig.so
2014-02-26T14:39:15.967-06:00| appLoader| W110: Unable to execute /usr/lib/vmware/bin/vmware-modconfig.
I noticed that gcrypt got updated to 1.6.1 from 1.6.0-2 on the Jan 31st, so I tried downgrading it to the previous version but the same error happened, so it is not an upgrade that has caused the problem.
Yes, the file does exist, and yes, I have reinstalled workstation.
Specs:
Arch Linux x64
Kernel: 3.12.13-1-ck
Processor: i7-3840QM
I have been wrangling with this for a couple of days now and I'm out of ideas.
Last edited by marca311 (2014-02-26 21:07:18)I had the same issue and i have modify the wiki
https://wiki.archlinux.org/index.php/VMware
Check this to apply some patch to compile again on your arch
https://wiki.archlinux.org/index.php/VM … Linux_3.13
if you use DKMS check the following session
https://wiki.archlinux.org/index.php/VM … he_modules
sorry for my poor english
PS: if you compile your module with "vmware-modconfig --console --install-all" you can have an issue due to the headers path change, to resolve it you can try this command
$ vmware-modconfig --console --install-all -k $(uname -r) $(vmware-modconfig --console --get-gcc) /usr/lib/modules/$(uname -r)/build/include
Last edited by bawaaaaah (2014-03-12 15:36:04) -
Not able to compile an xml file using jasper reports through jsp page
hi,
i have compiled an xml file and got html,pdf etc using jasperreports but that was from an java application and now i want to convert this application to an jsp page so i have copied these jar files "commons-beanutils-1.5.jar","commons-collections-2.1.jar","commons-digester-1.3.jar","itext-1.01.jar","jasperreports-0.5.2.jar" to the folder "C:\Program Files\Apache Tomcat 4.0\webapps\examples\WEB-INF\lib" and have set classpath to these jar files.
my application(java class invoked by a servlet) is in C:\Program Files\Apache Tomcat 4.0\webapps\examples\WEB-INF\classes.
i m using this API "JasperCompileManager.compileReportToFile(fileName);"
but i m getting following error:
type Exception report
message Internal Server Error
description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Invoker service() exception
at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:504)
at org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at filters.ExampleFilter.doFilter(ExampleFilter.java:149)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at filters.ExampleFilter.doFilter(ExampleFilter.java:149)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2312)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
at java.lang.Thread.run(Thread.java:536)
root cause
java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at org.apache.commons.digester.Digester.(Digester.java:345)
at dori.jasper.engine.xml.JRXmlDigester.(JRXmlDigester.java:115)
at dori.jasper.engine.xml.JRXmlLoader.prepareDigester(JRXmlLoader.java:446)
at dori.jasper.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:384)
at dori.jasper.engine.xml.JRXmlLoader.load(JRXmlLoader.java:371)
at dori.jasper.engine.xml.JRXmlLoader.load(JRXmlLoader.java:339)
at dori.jasper.engine.xml.JRXmlLoader.load(JRXmlLoader.java:323)
at dori.jasper.engine.JasperCompileManager.compileReportToFile(JasperCompileManager.java:102)
at jasper_interact.file_exporter(jasper_interact.java:44)
at reportcontroller.doGet(reportcontroller.java:59)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.servlets.InvokerServlet.serveRequest(InvokerServlet.java:446)
at org.apache.catalina.servlets.InvokerServlet.doGet(InvokerServlet.java:180)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at filters.ExampleFilter.doFilter(ExampleFilter.java:149)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at filters.ExampleFilter.doFilter(ExampleFilter.java:149)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:213)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:201)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2312)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:164)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:462)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:163)
at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1011)
at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106)
at java.lang.Thread.run(Thread.java:536)
i have one folder "C:\Program Files\Apache Tomcat 4.0\org\apache\commons\logging" containing some LogFactory calsses but i dont know where to put this folder so that tomcat can find them.
please help me..
i know i may not be clear to u but plz give me some way out i m totally stucked.
manishhi,
thanx for your reply.
ya i have "commons-logging-1.0.2.jar" file but when i tried to put it with other jar files and set the class path and run the application thru tomcat then it automatically stops the tomact.and when i removed this perticular logging jar file then tomcat works normally but gives the error which i mentioned before.
i have also tried the second option u suggested, by putting the LogFactory class files in "C:\Program Files\Apache Tomcat 4.0\webapps\examples\WEB-INF\classes\org\apache\commons\logging" but that was not working.shud i set some classpath for them? or shud i have to import these packages........ but when i copied this folder "org" to C:\Program Files\Apache Tomcat 4.0\webapps\examples\WEB-INF\classes and in program wrote import org.* then copilation error occured "no such package found.
what to do now.
manish -
Java Mapping - Not able to compile .Java file
Hi Experts,
I am working with a sample scenario which involves Java Mapping. For this I created MappingClass.java file, After compiling the .Java file .Jar file would be used for Java Mapping by using Imported Archives.
After compiling the MappingClass.java file, I am getting the errors as below.
--> Java errors after compilation
C:\j2sdk1.4.2_13\bin>javac MappingClass.java
MappingClass.java:4: package com.sap.aii.mapping.api does not exist
import com.sap.aii.mapping.api.AbstractTrace;
^
MappingClass.java:5: package com.sap.aii.mapping.api does not exist
import com.sap.aii.mapping.api.StreamTransformationConstants;
--> End of java errors
In the MappingClass.java file, I had given followed imports.
import java.util.*;
import com.sap.aii.mapping.api.AbstractTrace;
import com.sap.aii.mapping.api.StreamTransformationConstants;
Could some one please guide me to resolve this issue.
Thanks in advance.
..SreeHi
I had copied " aii_map_api.jar " file in my Java Class path folder.. i.e " C:\j2sdk1.4.2_08\bin " AND " C:\j2sdk1.4.2_08\lib " folders too.. and even in C:\ i.e Root Drive also.
After trying to Compile my java file (ex : MappingClass.java), still I am getting the errors.
Errors shown as below.
--> Errors
C:\mytest>javac MappingClass.java
MappingClass.java:2: package com.sap.aii.mapping.api does not exist
import com.sap.aii.mapping.api.AbstractTrace;
^
MappingClass.java:3: package com.sap.aii.mapping.api does not exist
import com.sap.aii.mapping.api.StreamTransformationConstants;
^
MappingClass.java:6: cannot resolve symbol
symbol : class AbstractTrace
location: class MappingClass
private static AbstractTrace trace = null;
^
MappingClass.java:12: cannot resolve symbol
symbol : class AbstractTrace
location: class MappingClass
trace = (AbstractTrace)inputparam.get(
^
MappingClass.java:13: cannot resolve symbol
symbol : variable StreamTransformationConstants
location: class MappingClass
StreamTransformationConstants.MAPPING_TRACE );
^
5 errors
--> End of Errors
Could some one please guide me to resolve this issue.
Thanks in advance.
..Sree
Maybe you are looking for
-
SqlDeveloper - I can't create a connection
When i try to make a new conection, show me this message. java.lang.NullPointerException at oracle.dbtools.raptor.conntypes.RaptorClassLoader.findClassLoader(RaptorClassLoader.java:48) at oracle.dbtools.raptor.conntypes.RaptorConnectionWrap
-
Deleting movie on iphone???
Hi guys can anybody help me. Would like to know how I can delete a movie on my iphone. Swiping or clicking not helping in the video section. Thx dany
-
Generate FI doc during order settlement
Hi Experts, Please share any enchancement (BAPI, exit) to generate accounting document (doc type ST) by reference to CO document? example: -CO- Dr. Material Operations(Cost Center) 12 Cr. Material Operations(Order) 12 -FI- generated by enhancement Dr
-
Photo composite with PE 3.0
I have been asked to photograph a sports team and create a photo composite poster on a separate photographic background. I've seen these, but is PE the appropriate program to use? If so, anyplace I can get some help? I have PE 3.0 on a PC.
-
OS 9 system folder for Mini PowerPC G4
Hi all. I need to use my Mini G4 in classic mode (it's running 10.4.11). I still have the original install discs that came with the machine when new but although they look OK, furstratingly the CD-ROM drive rejects them - I think I only need the sys