HELP Unable to find a javac compiler
Hi I try to show a report maked in CrystalReports11 and i try to view y a jsp page but the next error apears:
Estado HTTP 500 -
type Informe de Excepci�n
mensaje
descripci�n El servidor encontr� un error interno () que hizo que no pudiera rellenar este requerimiento.
excepci�n
org.apache.jasper.JasperException: No se puede compilar la clase para JSP
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:346)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
causa ra�z
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:106)
org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935)
org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Somebody help me or any know how view a report in Jbuilder but not in jsp?? thanks!
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.Ensure that the tools.jar from the JDK is part of your classpath
Similar Messages
-
Ant Build Error - Unable to find a javac compiler
I downloaded and installed the Sun Java Toolkit 1.0 for CDC. I can build and run the examples with no problem.
When I create my own project -- either by using the Create from Example option or the Create a New Project from Scratch option, I consistently receive this error message:
C:\CDCTK10\apps\JillianGolfHandset\nbproject\build-impl.xml:295: The following error occurred while executing this line:
C:\CDCTK10\apps\JillianGolfHandset\nbproject\build-impl.xml:148: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
BUILD FAILED (total time: 0 seconds)
Unfortunately, I'm not an Ant jock.
I'd like to go fiddling with the JAVA_HOME environmental variable on my system, but something tells me I shouldn't have to touch it; why would the examples work if JAVA_HOME weren't set properly?
Any ideas?I had the JDK installed and the JAVA_HOME set correctly to point to the JDK but it still gave the same error.
As I'm using Windows, I thought the problem may have been the spaces in the JAVA_HOME path, so I changed it to the old DOS style path e.g with the ~1. But that didn't work
Someone else suggested adding the JDK bin to the PATH, so I did that, but it didn't fix the problem.
Doing a search on the web, someone else using ANT had a similar problem, though not with the CDC, and added the tools.jar to the classpath
So I tried adding tool.jar to the classpath, and it worked !!
There is probably a better solution, but I couldn't find it, so I'll stick with this one until someone comes up with a better fix -
Need Help-Unable to find an available port
Hi,
I am Working one BPEL Process where in need to invoke a WebService.
I was able to deploy my BPEL Process with the Web Service Call but i am getting an error while invoking the Webservice from the Process.
BPEL PM Version 10.1.2.0.2
<bindingFault>
<part name="summary" >
<summary>Unable to find an available port</summary>
</part>
</bindingFault>
Can you please let me know any work around is needed here.
Thanks in Advance
Edited by: user2574568 on Jun 24, 2009 8:28 AM
Edited by: user2574568 on Jun 24, 2009 12:23 PMInclude the following jar's in your classpath and re-compile ur code. It should work:
- commons-discovery.jar
- servlet-2_2.jar
- axis.jar
- saaj.jar
- jaxrpc.jar -
[Help] Unable to find component with absolute reference
I've deployed my project files to server and registered in Application.
Class Files under myclasses goes to -> /disk2/app/applmgr/comntop/java/ldc/oracle/apps/sla/calnet/xref/phone
Page XML under myprojects goes to -> /disk2/app/applmgr/appltop/xx_custom/11.5.0/mds
The page is rendered successfully.
(In EBS, HTML Call registered in FUNCTION is OA.jsp?page=/ldc/oracle/apps/sla/calnet/xref/phone/webui/PhonePG)
However, if I click any "action" such as <apply>, <delete>.. etc, I get "Unable to find component with absolute reference" error.
I've verified -> exec JDR_UTILS.printDocument('/ldc/oracle/apps/sla/calnet/xref/phone/webui/PhonePG', 150), and it did fetch the XML code.
I've verified I restart Apache as well as deleting out pages -> rm -rf $COMMONTOP/_pages
What am I missing here? Please help.
xmlimport.bat
REM Setting Up JDeveloper Path
set JDEV_BIN_HOME=C:\JDev9i_OAExtend_RUP7\jdevbin
set JDEV_USER_HOME=C:\JDev9i_OAExtend_RUP7\jdevhome\jdev
set JDEV_PROJECT_HOME=%JDEV_USER_HOME%\myprojects
REM Location of the import file
set PATH=%JDEV_BIN_HOME%\jdk\bin;%JDEV_BIN_HOME%\jdev\bin;%PATH%
REM Setting up DB Connection Path
set DB_CONNECTION="(DESCRIPTION =(ADDRESS = (PROTOCOL = TCP)(HOST = arebdt.xxx.com)(PORT = 1521))(CONNECT_DATA = (SID = ARTEST)))"
REM Setting up Page(s) to upload
set PAGE2UPLOAD=ldc\oracle\apps\sla\calnet\xref\phone\webui\PhonePG.xml
set APPS_PASSWD=<pass>
REM Execute import.bat
call import.bat %JDEV_PROJECT_HOME%\%PAGE2UPLOAD% -rootdir %JDEV_PROJECT_HOME% -username apps -password %APPS_PASSWD% -dbconnection %DB_CONNECTION%
pause
REM End of process Error page
Exception Details.
oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_NO_REGION_DATA. Tokens: REGIONCODE = ldc/oracle/apps/sla/calnet/xref/phone/webui/PhonePG;
at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(JRAD2AKMapper.java:529)
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(OAWebBeanFactoryImpl.java:3719)
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:3452)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1011)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432)
at _oa__html._OA._jspService(_OA.java:84)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
at _oa__html._OA._jspService(_OA.java:94)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:595)
## Detail 0 ##
Exception:
oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = ldc/oracle/apps/sla/calnet/xref/phone/webui/PhonePG, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1352)
at oracle.adf.mds.MElement.findElement(MElement.java:97)
at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(JRAD2AKMapper.java:503)
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(OAWebBeanFactoryImpl.java:3719)
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:3452)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1011)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432)
at _oa__html._OA._jspService(_OA.java:84)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
at _oa__html._OA._jspService(_OA.java:94)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:595)
Exception:
oracle.adf.mds.MetadataDefException: Unable to find component with absolute reference = ldc/oracle/apps/sla/calnet/xref/phone/webui/PhonePG, XML Path = null. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1352)
at oracle.adf.mds.MElement.findElement(MElement.java:97)
at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(JRAD2AKMapper.java:503)
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(OAWebBeanFactoryImpl.java:3719)
at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:3452)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1011)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:511)
at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:432)
at _oa__html._OA._jspService(_OA.java:84)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:187)
at _oa__html._OA._jspService(_OA.java:94)
at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:417)
at oracle.jsp.JspServlet.doDispatch(JspServlet.java:267)
at oracle.jsp.JspServlet.internalService(JspServlet.java:186)
at oracle.jsp.JspServlet.service(JspServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
at org.apache.jserv.JServConnection.run(JServConnection.java:294)
at java.lang.Thread.run(Thread.java:595)Ok, I admit it's my mistake.
I found a url coded in my CO miss a / at the beginning of the url address.
So, the Application deployment was OK.
Incorrect -> "OA.jsp?page=ldc/oracle/apps/sla/calnet/xref/phone/webui/PhonePG"
Correct -> "OA.jsp?page=/ldc/oracle/apps/sla/calnet/xref/phone/webui/PhonePG"Note that, in JDeveloper, page will function successfully without the /, but in EBS it will throw the error.
Code with correct url address embedded.
pageContext.forwardImmediately("OA.jsp?page=/ldc/oracle/apps/sla/calnet/xref/phone/webui/PhonePG",
null,
OAWebBeanConstants.REMOVE_MENU_CONTEXT,
null,
null,
false, // retain AM
OAWebBeanConstants.ADD_BREAD_CRUMB_NO); Edited by: user595907 on 2010/9/17 下午 4:28 -
[HELP] unable to find the requested server
Why every try connect trough WiFi shown error message "unable to find the requested server"
BB Storm II 9520,
Anyone can help....
TQOK, two things:
ON your BlackBerry, go to Options > Advanced > Browser.
Set that to HOTSPOT and save.
Now, connected to a WiFi router, open the internet browser on the BlackBerry try going to mobile.blackberry.com
Does it work?
Also, Do you have a BlackBerry Data Plan enabled on your account with your carrier or mobile provider?
You must, in order to get the RIM push email functions you are looking for, as well as addtional BlackBerry data services such as the mobile network internet browser, Facebook for BlackBerry, BlackBerry Messenger, and much more.
So, call your carrier and inquire about having the BlackBerry Data Plan added to your account.
Good luck.
1. If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.
4. Guide to Unlocking your BlackBerry & Unlock Codes
Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
Help, Unable to find connected phone
HI
New here so please be patient with me lol.
I have just installed the pc suite, downlaoded the latest version and also downloaded the software updater!
Ive connected everything and all seems ok, however when starting the software update it jeeps saying unable to find phone!
Down at my toolbar the pc says found N73 then when i start searching for the phone for the update a new message apears at the bottom tootbar saying n73 disconnected, then the message of the phone cannot be found appears.
I'm really frustrated as i dont know what to do, i still have the little data symbol on my phone!
Can someone please help me before i throw the phone and comp out the back door and jump on it!
Thanx in advance
AliYeah, Pc suite connects, but when the update is searching for the phone the phone disconnects then once the search is complete and it says there is no phone found it automatically reconnects, all very weird!
Ive disabled firewall and antivirus, im running on Xp and funnily enough on a Dell desktop!
Hope you get your problem sorted too, looks like im stuck with the older software which is annoying cos the nokia web says an update is available for myphone code......bummer -
Need help, unable to find my Serial Number
I recently moved to a new house, with all the ensuing hassles. Shortly after moving I decided to upgrade my computer to Windows 8. And in order to try and get rid of some old problems I only kept the private files and did a clean update.
After (succesful) Windows upgrade I had to reinstall my Adobe Photoshop CS6 Extended, only to find out that I cannot find the box containing the CD. It must have been misplaced during our moving. On my Adobe account on adobe.com I find no trace of the order, although I did buy it through Adobe. All I have is an email from Adobe thanking me for buying the CS6 and encouraging me to register my new product. Which I forgot to do.
So here I am, without my serial number and thus unable to get Photoshop back onto my computer. This is extremely worrying, is there anything I can do?
Regards RotskiSerial Number or Activation Issues
You need to contact Adobe Support either by chat or via phone when you have serial number and activation issues.
Here are some links to help make contact:
http://www.adobe.com/support/chat/ivrchat.html
http://www.adobe.com/support/download-install/supportinfo/ -
Unable to find a specific compilation on Itunes!! arghhh!!
I'm trying to find 'Ultimate NRG 4' however every time I search I only get 'Ultimate NRG megamix'
What do I do and if Itunes doesn't have this album - where the **** can I buy it?! I'm sure it must have!!You can make "requests" for new material to Apple at this webpage: http://www.apple.com/feedback/itunes.html Be aware that these are really suggestions, not requests, and there is no guarantee.
You can also try one of the online music download stores that specialize in Dance/DJ music, such as junodownload.com or beatport.com They sell songs in MP3 format, which can be easily added to your iTunes library. -
HELP: unable to find. .. . look inside
Error: The feature you are trying to use is on a network resource that is unavailable.
Clock OK box to try again (doesn't work), or enter an alternate path to a folder containing, the installation package "itunes.msi" in the box below.
HELP PLEASE?can seriously no1 help??? ive seen like 6 other people with this problem...... this is pathetic
-
Compile error : "unable to find javac compiler"
Hello,
I've got this problem compiling my java project: the error that I get is :
Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre1.5.0_05\lib\tools.jar
init:
compile:
[javac] Compiling 9 source files to H:\project\class
BUILD FAILED
H:\project\build.sml:8: Unable to find a javac compiler;
com.sun.tools.Main is not on the classpath.
Perhaps JAVA_HOME does not point to th JDK
I'm using the following product:
a) MySQL Database: mysql-4.1.13a-win32.zip (http://dev.mysql.com/get/Downloads/MySQL-4.1/mysql-4.1.13a-win32.zip/from/pick)
b) MySQL JDBC driver: mysql-connector-java-3.1.10.zip (http://dev.mysql.com/downloads/connector/j/3.1.html )
c) JBuilder 2005: http://www.borland.com/downloads/download_jbuilder.html
d) Jakarta Ant: apache-ant-1.6.5-bin.zip (http://ant.apache.org/bindownload.cgi)
In the C:\Program Files\JAVA map are the following maps:
- jdk1.5.0_05
- jre1.5.0_05
the settings in windows:
ANT_HOME C:\java\apache-ant-1.6.5
JAVA_HOME C:\Program Files\Java\jdk1.5.0_05
And I have added ;C:\java\apache-ant-1.6.5\bin; to the PATH
Why doesn't it work ? And more important, How can I fix it ?
Thanks
NickHello,
I've got this problem compiling my java project: the error that I get is :
Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre1.5.0_05\lib\tools.jar
init:
compile:
[javac] Compiling 9 source files to H:\project\class
BUILD FAILED
H:\project\build.sml:8: Unable to find a javac compiler;
com.sun.tools.Main is not on the classpath.
Perhaps JAVA_HOME does not point to th JDK
I'm using the following product:
a) MySQL Database: mysql-4.1.13a-win32.zip (http://dev.mysql.com/get/Downloads/MySQL-4.1/mysql-4.1.13a-win32.zip/from/pick)
b) MySQL JDBC driver: mysql-connector-java-3.1.10.zip (http://dev.mysql.com/downloads/connector/j/3.1.html )
c) JBuilder 2005: http://www.borland.com/downloads/download_jbuilder.html
d) Jakarta Ant: apache-ant-1.6.5-bin.zip (http://ant.apache.org/bindownload.cgi)
In the C:\Program Files\JAVA map are the following maps:
- jdk1.5.0_05
- jre1.5.0_05
the settings in windows:
ANT_HOME C:\java\apache-ant-1.6.5
JAVA_HOME C:\Program Files\Java\jdk1.5.0_05
And I have added ;C:\java\apache-ant-1.6.5\bin; to the PATH
Why doesn't it work ? And more important, How can I fix it ?
Thanks
Nick -
Error "unable to find javac compiler"
Hello,
I've got this problem compiling my java project: the error that I get is :
Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre1.5.0_05\lib\tools.jar
init:
compile:
[javac] Compiling 9 source files to H:\project\class
BUILD FAILED
H:\project\build.xml:8: Unable to find a javac compiler;
com.sun.tools.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
I'm using the following products:
a) MySQL Database: mysql-4.1.13a-win32.zip (http://dev.mysql.com/get/Downloads/MySQL-4.1/mysql-4.1.13a-win32.zip/from/pick)
b) MySQL JDBC driver: mysql-connector-java-3.1.10.zip (http://dev.mysql.com/downloads/connector/j/3.1.html )
c) JBuilder 2005: http://www.borland.com/downloads/download_jbuilder.html
d) Jakarta Ant: apache-ant-1.6.5-bin.zip (http://ant.apache.org/bindownload.cgi)
In the C:\Program Files\JAVA map are the following maps:
- jdk1.5.0_05
- jre1.5.0_05
the settings in windows:
ANT_HOME C:\java\apache-ant-1.6.5
JAVA_HOME C:\Program Files\Java\jdk1.5.0_05
And I have added ;C:\java\apache-ant-1.6.5\bin; to the PATH
Why doesn't it work ? And more important, How can I fix it ?
Thanks
NickDuplicate of http://forum.java.sun.com/thread.jspa?threadID=687035
-
I have recently installed apache tomcat and the J2SE SDk on my windows machine and have managed to get tomcat to run. However, when i try to test a jsp page I get an error saying ii cannot find the javac compiler. The error I amgetting is shown below.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:97)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:346)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:414)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:106)
org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935)
org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:382)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
I have checked my environment variables that I set up and I cannot finad anything wrong with them as they all seem to point to the right directory. Here are my environment variables.
CLASSPATH = C:\jdk1.5.0_02\lib\tools.jar;C:\Servers\Tomcat 5.0\common\lib\servlet-api.jar;C:\Servers\Tomcat 5.0\common\lib\jsp-api.jar
JAVA_HOME = C:\jdk1.5.0_02
PATH = %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\ATI-CPanel;C:\Program Files\Pragma\Clients;C:\Program Files\MySQL\MySQL Server 4.1\bin;C:\jdk1.5.0_02\bin
Does anyone have any idea what the problem could be? Any solutions would be much appreciated.
ThanksI have recently installed apache tomcat and the J2SE SDk on my windows machine and have managed to get tomcat to run.
the error i have got is below:
Exception:
Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK
at org.apache.tools.ant.taskdefs.compilers.CompilerAdapterFactory.getCompiler(CompilerAdapterFactory.java:106)
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:935)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:764)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:282)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:328)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:427)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:142)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:809)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:209)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:144)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2358)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:133)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:118)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:116)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:127)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:948)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:152)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:536)
Does anyone have any idea what the problem could be? Any solutions would be much appreciated.
Thanks -
Antinstaller - unable to find javac compiler
Hi all,
am using antinstaller to deploy an application. The application which I want to
deploy has its own build file it has targets like clean, build, warfile etc. Its is working fine if an using ant from command prompt. but if I use ant installer
and call this build.xml using the
<ant dir="some dir" target="build" />
then when ant installer runs as it comes to this line it give me error that
Unable to find javac compiler com.sun.tools.javac.Main is not on the classpath
perhaps JAVA_HOME does not point to the JDK.
As I have already set JAVA_HOME to the jdk dir and PATH variable to
%JAVA_HOME%\bin.
Am not getting where the problem is - any suggestion is helpful.sorry, I forgot to add fork="true" to <javac> task
-
[SOLVED] Trying to compile Cafu engine - Unable to find dependencies
Hello,
I'm pretty new to Arch and currently I'm trying to compile Cafu (an open source game and graphics engine). On my notebook (running Xubuntu) I was able to compile it successfully but here in Arch the build fails after a while. I guess this is due to a dependency I am missing. Of course I have read the Cafu documentation first and it states that the following packages are needed:
Cafu documentation wrote:
A graphics driver with 3D hardware acceleration (the right driver is usually auto-detected and installed by the “Driver Manager”).
build-essential – The compiler and basic tools required to compile C and C++ programs.
libgtk2.0-dev – Developer files for GTK 2.0, needed for building wxGTK.
libgl1-mesa-dev and libglu1-mesa-dev – OpenGL developer files, needed for building wxGTK and the Cafu rendering subsystem. On Debian Sarge (3.1), the packages xlibmesa-gl-dev and xlibmesa-glu-dev used to serve the same purpose, but on newer systems, they have been replaced by the libgl(u)1-mesa-dev packages.
libasound2-dev – ALSA developer files, needed for building OpenAL-Soft.
The problem ist, that these packages refer to Ubuntu packages. I was trying to find the equivalent Arch packages, but for the three last list points I was unable to find such a package. So I simply gave it a try, but the build fails as mentioned before. I know, this is not a Cafu forum and this console output will most likely not be very helpful, but I'll post it anyway:
scons: building associated VariantDir targets: build/linux2/g++/debug build/linux2/g++/release
g++ -o Libs/build/linux2/g++/release/Models/Loader_lwo.o -c -O3 -funsigned-char -Wall -Werror -Wno-char-subscripts -fno-strict-aliasing -DNDEBUG -DSCONS_BUILD_DIR=build/linux2/g++/release -ILibs -IExtLibs -IExtLibs/lua/src -IExtLibs/lwo -IExtLibs/jpeg Libs/Models/Loader_lwo.cpp
Libs/Models/Loader_lwo.cpp:208:18: error: 'Vector3fT myNormalize(const Vector3fT&)' defined but not used [-Werror=unused-function]
cc1plus: all warnings being treated as errors
scons: *** [Libs/build/linux2/g++/release/Models/Loader_lwo.o] Error 1
scons: building terminated because of errors.
If I search for example for libgtk, all I find is the following:
[joe@arch ~]$ pacman -Ss libgtk
extra/libgtkhtml 2.11.1-4
An HTML library for GTK
community/libgtksourceviewmm2 2.10.1-2
A C++ API for gtksourceview2
Also I don't know which packages fit "libgl1-mesa-dev", "libglu1-mesa-dev" and finally "libasound2-dev". There is libgl but this causes a conflict the my proprietary nvidia graphics driver.
Could anyone give me advice, which packages could be the right ones?
Thanks!
Last edited by grindcore (2012-02-28 06:29:03)Okay I have checked all the packages and it turned out that I had already all of them installed.
This means there has to be indeed an upstream code issue. So I will contact the developers via the Cafu forum. I thought about doing this instantly after the build had failed, but I wanted to check out first whether I was not missing a dependency and consequently it would have been a fault of mine.
Thank you very much. -
Unable to find framedyn.dll when compiling VI for fpga
When trying to compile an FPGA on cRIO, a window with the following message popped up: unable to find framedyn.dll. How can I resolve this and compile the VI?
I just had this problem and NI Help was able to solve the issue. It is actually a windoze enviroment variable problem.
See http://support.microsoft.com/kb/319114
regards
MDDAve
CLA
Visualize the Solution
CLA
LabVIEW, LabVIEW FPGA
Maybe you are looking for
-
How to delete the duplicated songs at the same time also from the source , hd
i have lots of song twice or tripple in the song list. the main reason is i have them also in the source hd dupplicated. It is not easy to find the dupplicated songs in the hard disc, they are in different files with different names but same songs .
-
Switching to a different Plan Holder/Account
So I've been on someone's plan for the last two years and was told that when my contract ended in august they would be taking my phone off of the bill. A question about this...when is the soonest they can take me off the phone plan? I didn't get my p
-
Mid-2011 Macbook Air - Flash storage - Running Firefox 64 I just downloaded and installed Java. No luck as I go to Yahoo and when I begin to play Euchre. It stops me and says I dont have the plugin. I ran the install and then check to see on any supp
-
While *run me* will re-run a script from its beginning, is there any way to re-run a portion of a script from a specific line or command?
-
QT Pro displays all images as vertical in slideshow
I am just learning QT Pro 7.x for creating a slideshow for my site. I've resized all of the images to be the same pixel size on the longest side. However, when I create the show, all images are showing as vertical which means horizontal images are be