Can't find the imported java class when run .jsp file

Hi,
I want to run a jsp web application using tomcat. I put all my .jsp files under "TOMCAT_HOME/webapps/junmin" directory, and put all .class files under "TOMCAT_HOME/webapps/junmin/WEB-INF/classes" directory. I set up TOMCAT_HOME AND JAVA_HOME already. But when I type in the address like below:
http://db1.acad.emich.edu:8080/junmin/login.jsp
The IE will give me error msg indicating that it can't find all the .class files which I imported them in login.jsp file.
So, does anyone know that if I miss some configuration in order to let the .jsp file recognize the .class files. Thanks a lot!
Sincerely, Junmin

Ha, this might be the reason.
Can I add sth like this:
<Context path="/junmin" docbase="junmin" debug=0 reloadable=true>
</Context>
But in my local computer, I didn't add this <Context> either. It works well.
Thanks a lot! I will ask the administrator to try this.
And will write down the reason.
Sincerely, Junmin

Similar Messages

  • How to run the imported java class in form

    Help!!!!!
    Pls help me to run the imported java class in forms.
    Package is created in forms while imported one class called
    singlexml.class and that package has one procedure and one
    function.
    I just wanted to run that class.I mean the new package.
    Thanks
    Anil

    Hi,
    It is because the converter works on byte code and it only supports a subset of the Java language (see the JC specifications). It is kind of like compiling you code on Java 6 and trying to run it on Java 5. The JCDK outlines the required compiler version.
    Cheers,
    Shane

  • Where can i find the BI Java Connector Files (for example: bi_sdk_jdbc.rar)

    Hi,
    where can i find the BI Java Connector Files:
    bi_sdk_jdbc.rar
    bi_sdk_xmla.rar
    bi_sdk_sapq.rar
    bi_sdk_odbo.rar
    Can anyone help me?

    hi Christian,
    these files should be included in bi java sdk
    https://www.sdn.sap.com/irj/sdn/downloaditem?rid=/webcontent/uuid/78b3db58-0501-0010-b895-f75cd8fdf674 [original link is broken]
    hope this helps.

  • But i can't find the import option.

    But i can't find the import option.

    Have you tried dragging it & dropping on the iTunes app icon?

  • JDBC adapter can't find the jdbc driver class

    Hello, my jdbc driver give an very strange error
    11:46:13 (4207): JDBC adapter terminated
    Mon Aug 02 11:46:13 CEST 2004 *****
    11:46:13 (4210): ERROR: Attempt to load JDBC driver failed ("java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver")
    Attempt to intialize JDBC adapter failed
    11:46:13 (4203): Unable to start JDBC adapter (not initialized)
    I know that the jdbc driver is in the classpath, and to confirm that I have created a java program in the IB (repository) which import the class oracle.jdbc.driver.OracleDriver. I can compile and run that program without problems.
    Here you can see my jdbc adapter configuration file:
    jdbc adapter java class
    classname=com.sap.aii.messaging.adapter.ModuleDB2XMB
    mode=DB2XMB
    Integration Engine address and document settings (example, see docu)
    XMB.TargetURL=http://<host>:<port>/sap/xi/engine?type=entry
    XMB.SenderBusinessSystem=ExtAdapterSender
    XMB.SenderInterfaceNamespace=http://sap.com/xi/xidemo
    XMB.SenderInterfaceName=ExtAdapterSenderIF
    XMB.QualityOfService=EO
    ##DB Adapter specific parameters (example for SQL-Server, see docu)
    db.jdbcDriver=oracle.jdbc.driver.OracleDriver
    db.connectionURL=jdbc:oracle:<user>:<password>/hello@<url>:<port>:<instance>
    db.processDBSQLStatement=Select * emp
    db.pollInterval=600
    xml.recordsetsPerMessage=1

    Hi Ernesto,
    Can you try to the following:
    1. Remove your JDBC driver entries from the CLASSPATH.
    2. Put those jars into your jre/lib/ext directory.
    3. Restart the whole adapter engine, and
    4. Config the driver java class for the adapter. the class name to be used can be found in your JDBC driver document.
    Let me know whether it works.
    Hart

  • Where can I find the install code from when I purchased Mountain Lion?

    Going to get a new hard drive, my local store said if I could provide the install code for Mountain Lion that they would only charge me $20 to install the OS on the HD.  How can I find the install code when I purchased it.  I bought it Nov. 2012. 

    That's only applicable if you got Mountain Lion through the now-discontinued free upgrade program and haven't redeemed the code for it.
    If you bought it from the Mac App Store or have redeemed a download code for it, log into it with the Apple ID and password associated with that copy of it, click on the Purchases tab, and redownload it from there.
    If you got it with a new Mac, start it up with the Command and R keys held down and reload it from the recovery partition.
    (80260)

  • I can't find the rich text button when I post a new thread in the sap forum

    I had a EP system witch sp15,and I deploy a sap new forums,but recently I found when I post a new thread,I can't find the" rich text" button and the "plain text"button and the "preview"button,the bold,italics,underline function is invalidate,and I find the IE page has notice "the erroe on page" when my error occured.
    eg:when I want to post a new thread,the post page of IE give me a notice "the error on page",I click the notice,find it said:"error:MultiSelector not defined" or "error:MCTabs not defined".
    Who can help me?
    Edited by: cui zhao on Apr 22, 2008 8:41 AM

    I know this is an old thread but wanted to post the resolution that I found when I had this problem.
    Basically the problem is because the Quicklink is not set properly.
    I had to make sure that the Page Quicklink property was set to 'forums'.
    I also had to make sure that the Email Settings in the Admin Console had the following property:
    'URL for your installation:' had to be set to http://myportalserver.50800/forums.
    Hope that helps someone who has the issue sometime.
    Regards,
    Robin.

  • How to find the main java class file

    I need to write a Java program which MUST know one of these:
    1) the full path to the main java class (the class with "main" method)
    or
    2) access to the main class as byte array.
    If i know (1) then I have no problems reading the main class into byte array, but the main target is still (2).
    Another option is if the main file is in JAR, which again leads to problems, because I cannot access the file in normal way, but I still need access to the exact byte stream.
    Any help is highly appreciated! Thanks!
    <<< Ivan Davidov >>>

    You could try somthing like this in your main-method:
    InputStream is = getClass().getResourceAsStream(<"myModifiedPackageName/MyClass.class">);I don't know if this works though.
    Have a look at the API doc for this method.
    -Puce

  • I downloaded the lastest Facebook app upgrade to my iPad 2 and nowhere can I find the chat option. When I downloaded it to my iPhone4 it was there. Can anybody help me?

    I downloaded the latest Facebook app ugrade to my iPad 2, and nowhere can i find the chat option. I also downloaded it to my iPhone4 and the chat option is there. Can somebody help me?

    The first thing that has to be done with a new iPad is to activate it via iTunes. What version of iTunes, and what spec computer, have you got ? The iPad's minimum requirements are (from http://www.apple.com/ipad/specs/)  :
    Mac :
    Mac computer with USB 2.0 port
    Mac OS X v10.5.8 or later
    iTunes 10.2 or later recommended
    (free download from www.itunes.com/download)
    iTunes Store account
    Internet access
    PC :
    PC with USB 2.0 port
    Windows 7; Windows Vista; or Windows XP Home or Professional with Service Pack 3 or later
    iTunes 10.2 or later recommended
    (free download from www.itunes.com/download)
    iTunes Store account
    Internet access
    Edit : there is troubleshootin here :
         pc - http://support.apple.com/kb/TS1538
         mac - http://support.apple.com/kb/TS1591
    Message was edited by: King_Penguin

  • How to create java classes when multiple xsd files with same root element

    Hi,
    I got below error
    12/08/09 16:26:38 BST: [ERROR] Error while parsing schema(s).Location []. 'resultClass' is already defined
    12/08/09 16:26:38 BST: [ERROR] Error while parsing schema(s).Location []. (related to above error) the first definition appears here
    12/08/09 16:26:38 BST: Build errors for viafrance; org.apache.maven.lifecycle.LifecycleExecutionException: Internal error in the plugin manager executing goal 'org.jvnet.jaxb2.maven2:maven-jaxb2-plugin:0.7.1:generate': Mojo execution failed.
    I tried genarate java classes from multiple xsd files, but getting above error, here in .xsd file i have the <xe: element="resultClass"> in all .xsd files.
    So I removed all .xsd files accept one, now genarated java classes correctly. but i want to genarte the java classes with diffrent names with out changing .xsd
    Can you please tell me any one how to resolve this one......
    regards
    prasad.nadendla

    Gregory:
    If you want to upload several Java classes in one script the solution is .sql file, for example:
    set define ?
    create or replace and compile java source named "my.Sleep" as
    package my;
    import java.lang.Thread;
    public class Sleep {
    public static void main(String []args) throws java.lang.InterruptedException {
    if (args != null && args.length>0) {
    int s = Integer.parseInt(args[0]);
    Thread.sleep(s*1000);
    } else
    Thread.sleep(1000);
    create or replace and compile java source named "my.App" as
    package my;
    public class App {
    public static void main(String []args) throws java.lang.InterruptedException {
    System.out.println(args[0]);
    exit
    Then the .sql file can be parsed using the SQLPlus, JDeveloper or SQLDeveloper tools.
    HTH, Marcelo.

  • Unable to import a java class in a jsp file

    Hi,
    I am trying to import a java class in my jsp.
    ------------------jsp---------------
    <jsp:useBean id="form" class="com.company.portlets.searchApps.object.SearchOBJ" scope="request" />
    <jsp:setProperty name="form" property="*" />
    <input type="TEXT" name="projectID" value='<%= form.getProjectID() %>'>
    When I run the above JSP, it says that class 'com.company.portlets.searchApps.object.SearchOBJ' cannot be found.
    Why?
    My project structure looks like this:
    Project
    +Application Sources
    ++com.company.portlets.searchApps.object
    +++SearchOBJ.java
    +Web Content
    ++htdocs
    +++searchappsportlet
    ++++SearchAppsPortletShowPage.jsp
    ++WEB-INF
    +++index.jsp
    +Resources
    ++SearchApps.deploy
    Please advice...thanks!

    The way that JDeveloper organized the files was like this:
    C:\jdev1012\jdev\mywork\WksSearchApps\Project\classes\com\company\portlets\searchAPPS\object\SearchOBJ.class
    I am assuming that JDeveloper puts the file where they are suppose to be...if not, how do I change that?
    thanks,
    hussain

  • Can you find the imported Library ? My system can't !

    Dear People,
    In making a first attempt to do an applet in JBuilder7 rather
    than from the Dos prompt my imported library is not being found . Here are the steps I did.
    1) deleted all the premade source code on the scrren and
    keyed in my applet code "MakeBox.java"
    2) went to Tools | Configure Libraries
    I saw on the left "User Home " and under that i saw
    "objectdraw"
    3) under the class tab I saw:
    [ C:/WINDOWS/jbproject/objectdraw.jar ]
    4) at the Required Libraries tab I saw:
    "objectdraw"
    the error message I get when I try to compile the class is:
    "MakeBox.java": Error : cannot access directory objectdraw at
    line 6
    below is the source code
    Thank you in advance
    Stan
    import java.awt.*;
    import java.awt.event.*;
    import java.applet.*;
    import objectdraw.*;
    public class MakeBox extends WindowController
    public void begin()
    public void onMousePress(Location point)
    new FilledRect(30,150,30,20,canvas);

    I don't know if this is your problem or not, but whenever JBuilder decides it doesn't like me I usually have to go do this:
    1)Project Menu
    2)Project Properties
    3)Paths tab
    4)make sure your working directory is right
    5)get rid of the /test in the path of the second radiobuttoned option
    maybe that will help, maybe not...its what I do and it usually work.

  • Why can not find the G/L document when use mr8m reverse .

    Dear all,
    I want to reverse a document use MR8M trans code, but the message tell me the document is not exists. but I can find the document in FB03 . why?
    This document type is RE.
    Please help me.

    sorry ,the document is error.

  • Import java classes in a JSP

    hallo
    I have craeted aPackage "TestPackage" as subdirectory in the order
    tomcat\webapps\ROOT\WEB-INF\classes\TestPackage
    in this package ther ist the class Test
    I try to imort this class in the jsp
    <%@ page language="java" import="TestPackage.*"%>
    <jsp:useBean id="app" scope="page" class="Test"/>
    <%
    for(int i=0; i< 10; i++){
    %>
    <h1><%= app.getName()%></h1>
    <%
    %>
    error:
    [javac] C:\tomcat4\work\Standalone\localhost\_\test_jsp.java:43: cannot resolve symbol
    [javac] symbol : class Test
    [javac] location: class org.apache.jsp.test_jsp
    [javac] Test app = null;
    who ist the Problem ???
    thanks

    Hi Orient,
    Actually <jsp:useBean /> takes fully qualified class name.
    so your code for <jsp:useBean /> should be like this
       <jsp:useBean id="app" scope="page" class="TestPackage.Test"/>
      For more details please refer http://java.sun.com/products/jsp/tags/11/syntaxref1115.html
    Regards
    Goodieguy

  • Just done the 'Erase and Install', I can't find the Hard Drive I backed up my files on?

    I have just done the 'Erase and Install' process, but before I did, I backed up my files to an External Hard Drive using Time Machine. I have now restored my Mac and gone through the Erase and Install process, but now, when I plug in my external hard drive, I cant find it anywhere? I've tried quite a few things, but no luck! Also, what has happened to iMovie and iPhoto and all those Applications?! They have dissapeared!

    GeorgeRollo wrote:
    I have just done the 'Erase and Install' process, but before I did, I backed up my files to an External Hard Drive using Time Machine.
    That should mean that all of your data on the MBP is backed up to an external HDD.
    - Yes, should be. But when I plug it in the Mac, no menu or pop up comes up. Showing what to do next.
    I have now restored my Mac and gone through the Erase and Install process, but now, when I plug in my external hard drive,
    If you restored your internal drive with Time Machine, did you then ERASE and install?  What did you erase and what were you installing?  What is on the external HDD that has the Time Machine backup on it?
    - I talked to the Customer Support and they said just erase the Startup Disk or something? So I did. Because I basically just wanted to restore my Mac.
    I cant find it anywhere?
    What is it?
    - The External Hard Drive when I plug it in.
    I've tried quite a few things, but no luck!
    What are 'quite a few things'?
    - Things that I have researched like going into 'Finder' then going into 'Preferences', 'General', then ticking 'Hard Drive' under the option of 'Show these items on the desktop:'
    what has happened to iMovie and iPhoto and all those Applications?! They have dissapeared!
    I would think that they should be on the Time Machine backup (assuming the external HDD has not been erased) if not the internal HDD.
    - Hopefully if I can figure out this.

Maybe you are looking for

  • How can i find the no.of components in a jspx File

    Hi, I need to find the no.of InptuText components in a jspx file by using ADF concept whether it is adf javascript/backing bean concept. not by looping the components from root to till end of the page. Reg, Brahma.

  • Header as center  aligned

    Hi,      Can anyone tell me how to get the table header text  in the center in web dynpro abap. Thanks & Regards, Helma Edited by: HELMAPAUL on Mar 7, 2011 10:56 AM

  • What would be the command to uncheck Automatic Proxy Configuration?

    Looking for a script to uncheck the Automatic Proxy Configuration field so I don't have to touch every mac individually. I tried networksetup -setsocksfirewallproxystate Ethernet off which ran successfully but doesn't appear to have done anything.

  • Actual Freight Amount

    pls tell me how i can check the freight amount which was booked for import material in po? tell me any table name for get it Regards Rekha sharma

  • 20-in Intel iMac (early 2006) Tiger -- configuring Airport Extreme Card

    Hi -- I come from a mostly "not mac" background and am having difficulty diagnosing a slow internet connection -- and can't tell if I'm trying to use the right tool for the job. (I am using MAC OS X 10.4.11) My home network uses a Linksys WRT54G wire