Can't compile the medrec tutorial

I can't build the medrec tutorial. Following the Tutorial 10: Exposing a Stateless
Session EJB as a Web Service, I execute the command "ant prepare build.split.dir".
But the medrecEar
can't be compiled correctly.
There are primarily two kinds of errors/warnings:
1)some classes, such as AdminSession can't be resolved;
2)EJB Local Reference doesn't have a JNDI name.
Who could help me. Thank you.

When you compile through J2EE it should give no apache type errors. You must of included apache xml cocoon jar files in the CLASSPATH as well later put the j2ee.jar. However j2ee.jar has XML libraries, no need to include other thrid party xml libaries.
Other words its picking your thrid party xml jar files first and using that instead of your j2ee.jar xml libaries.
Cheers
Abraham Khalil

Similar Messages

  • I can't compile the converter tutorial example in J2EE

    Hi,
    I was wondering if someone could help me out with this.
    I followed the instructions from the tutorial, but still can't use ant to compile the convert.
    The following is the error output.
    Many thanks.
    C:\temp\j2ee_examples\j2eetutorial\examples\src>ant converter
    Searching for build.xml ...
    Buildfile: C:\temp\j2ee_examples\j2eetutorial\examples\src\build.xml
    init:
    BUILD FAILED
    C:\temp\j2ee_examples\j2eetutorial\examples\src\build.xml:18: Class org.apache.t
    ools.ant.taskdefs.Property doesn't support the "environment" attribute
    Total time: 0 seconds

    When you compile through J2EE it should give no apache type errors. You must of included apache xml cocoon jar files in the CLASSPATH as well later put the j2ee.jar. However j2ee.jar has XML libraries, no need to include other thrid party xml libaries.
    Other words its picking your thrid party xml jar files first and using that instead of your j2ee.jar xml libaries.
    Cheers
    Abraham Khalil

  • Without adminWebApp.zip,I can't practice the MedRec tutorial 19.

    Help me, experts.
    Thank you in advance.
    Answer me,quickly,ok?

    I can't reach the link you gave, which seems not
    to exist in the edocs website.
    By the way, could you please take a look at the
    the message 405. I can't finish that tutorial either,
    "Securing Enterprise JavaBean (EJB) Resources Using the Administration Console".
    Thanks a lot.
    "Jen Hocko" <[email protected]> wrote:
    >
    "Paul Green" <[email protected]> wrote:
    I can't find the "AdminWebApp Web Application" (adminWebApp.zip )
    on the dev2dev Web site. Is there any alternative way to do that
    or where can I find the file adminWebApp.zip ? Thank you.Hi Paul,
    I'm sorry you are having problems with tutorial 18. I have researched
    the issue
    with the missing adminWebApp.zip file with the dev2dev folks and my records.
    I
    have discovered that the latest version of tutorial 18 on edocs (http://edocs.bea.com/wls/docs81/medrec_tutorials/ejb_security.html)
    no longer makes use of that file. Perhaps your browser is caching an
    old version
    of this tutorial? Please let me know if a browser refresh does not solve
    the problem.
    Thanks,
    Jen
    Sr. Technical Writer
    BEA Systems, Inc.

  • Where can I find The JavaEE tutorial in the downloaded Glassfish and EE SDK

    Where can I find The JavaEE tutorial in the downloaded Glassfish and EE SDK.The downloaded URL is (http://java.sun.com/javaee/downloads/index.jsp). I downloaded the whole pack.It includes the Java EE tutorial, But I can't find it to view offline
    Varuna

    The LOAD command instruction is 0xE8 and not 0xE0/0xE1.
    Lc is one byte, so how can you exceed FF?
    Optionally the LOAD response can include a receipt (delegated management). If your card mandates a response length of 1 byte (Le=01) it means that no receipt is expected --> receipt length 00. JCOPs LOAD command has Le=0x00 set by default --> response length undefined. This is in accordance with Java Card API, which follows the ISO 7816-4 APDU structure.
    Let's look at the help of the JCOP tools upload command:usage: upload [-p|--progress][-c|--components][-r|--random][-l|--package package-name][-s|--sd SD-AID][-m|--params parameters][-b|--block_length length][-a|--auto][-d|--load-debug] CAP-file
    -c|--components
                Load CAP-file component wise.
    -r|--random
                Load with random APDU length.
    -b|--block_length length
                Max. block (APDU) length sent to the card during package upload.
        length  Max. block (APDU) length.So you can set the block length --> Lc as you wish.
    Message was edited by:
    lexdabear

  • How can i compile the program?

    hi,everybody:
    I have a program which include the next statments:
    public void println(boolean flag)
    throws IOException
    Object obj = lock;
    obj;
    JVM INSTR monitorenter ;
    print(flag);
    newLine();
    obj;
    JVM INSTR monitorexit ;
    break MISSING_BLOCK_LABEL_26;
    Exception exception;
    exception;
    obj;
    JVM INSTR monitorexit ;
    throw exception;
    how can i compile the program?
    thanks

    Hi,
    I'm trying to figure out how to use this decompiler, I have downloaded it to windows 2000 platform and it unzips to 1 file with extension "1-bin" - OS doesn.'t know what to do with and neither do I ;) - I'm starting out on something here and this tool would be useful.
    Thanks for any install instructions you might have.
    mufc1999
    Hi,
    I've had a similiar problem with decompiling certain
    classes. Try the following decompiler,
    http://jrevpro.sourceforge.net, after using this one,
    the code decompiled fine, this tool is also a
    disassembler and quite a nifty one i might add. :)
    Hope this helps!
    Have Fun!

  • Can't compile the HTML-Java Wizard generated file.

    I have created a java file using HTML-Java Wizard.
    when compiling the java file it gives an error
    method getDeclaredMethod(java.lang.String,null) not found in
    class in java.lang.class
    can anyone tell me how can I remove the error ?
    waiting for your early reply in this regard.
    Thanks
    null

    Thanks, My problem has been solved.Now it is working.
    Initially I was using wrong classes.zip file in myclasspath.The
    Correct one is in %JDEVELOPER_HOME%\java\lib. The size of that
    file is 9.48 MB.
    Regards
    -- Sujit
    JDeveloper Team (guest) wrote:
    : Sujit,
    : I assume that you have access to the OAS jars needed to compile
    : this file (refer to the "Building Java Applications for OAS"
    : guide in the helpsystem for details).
    : Also, try deleting the dependecy files in your
    : myclasses/your_package directory .
    : Regards,
    : Sujit Hazra (guest) wrote:
    : : Hi,
    : : The error is still there.
    : : I have tried as you suggested.That brought me the code of
    : : java.lang.Class and also found that method as you
    : mentioned.This
    : : means my libraries are properly installed.
    : : The following code is taken from the HTML-Java Wizard
    generated
    : : file:
    : : private HtmlPage makePage() {
    : : HtmlPage hp = new HtmlPage(new java.io.File(filepath +
    : : java.io.File.separator +
    filename));
    : : for(int i=0;i<WRB_tags.length;i++) {
    : : try {
    : : hp.setItemAt(WRB_tags[0], new SimpleItem(
    : : this.getClass().getDeclaredMethod(
    : : "get"+WRB_tags[i][2],null).invoke(this,null)));
    : : catch (java.lang.Exception ex) {
    : : hp.setItemAt(WRB_tags[i][0],
    : new(SimpleItem(WRB_tags[i][1]));
    : : return hp;
    : : I didn't change anything on that.What else should I do?
    : : waiting for your early reply in this regard.
    : : Thanks
    : : - Sujit
    : : JDeveloper Team (guest) wrote:
    : : : Sujit,
    : : : Test this:
    : : : Bring up JDeveloper
    : : : Press Ctrl / - Control key and the Slash key
    : : : Type in java.lang.Class
    : : : This brings up the code for java.lang.Class
    : : : If it does not, then somehow your libraries
    : : : are not properly installed for JDeveloper to find
    : : : (see IDEClassPath ).
    : : : Otherwise, there you should see many methods including:
    : : : public Method getDeclaredMethod(String p0, Class[] p1)
    : : : throws NoSuchMethodException, SecurityException {
    : : : // implementation not available
    : : : Also note: Your spelling for Class should be
    : : : java.lang.Class
    : : : - JDeveloper Team
    : : : You can browse the class
    : : : Sujit Hazra (guest) wrote:
    : : : : I have created a java file using HTML-Java Wizard.
    : : : : when compiling the java file it gives an error
    : : : : method getDeclaredMethod(java.lang.String,null) not found
    : in
    : : : : class in java.lang.class
    : : : : can anyone tell me how can I remove the error ?
    : : : : waiting for your early reply in this regard.
    : : : : Thanks
    null

  • Can't compile the Forms,please help me.

    when I compile the form in Linux, I got the following error:
    ======================================================
    error while loading shared libraries: libig.so.0: cannot open shared object file: No such file or directory
    ==========================
    and I can find this file under
    /ora11510/oracle/visora/8.0.6/lib/
    Can you help me to resolve it? Thanks.

    Hi...
    How are you compiling the form in linux? are you using frmcmp (or f90genm for Forms 9i) executable? If so, try using frmcmp.sh script (its also available in $ORACLE_HOME/bin).
    If it does not work either, try setting LD_LIBRARY_PATH to $ORACLE_HOME/lib:$ORACLE_HOME/lib32
    HTH.
    Regards,
    Arun

  • Error when compiling the J2ee tutorial source files

    HI,
    I have installed ant, j2ee tomcat-3.2.2 and jdk1.3 and when i tried to compile the source file downloaded from java.sun by
    ant converter, it prompted
    "Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/tools/ant/main"
    I am running it on win98 with the autoexec.bat containing the followings:
    set J2EE_HOME=c:\j2sdkee1.3
    set JAVA_HOME=c:\jdk1.3.1
    set ANT_HOME=c:\jakarta-ant-1.3
    set TOMCAT_HOME=c:\tomcat\jakarta-tomcat-3.2.2
    set classpath=;.;c:\jdk1.3.1\jre\lib\rt.jar;c:\j2sdkee1.3\lib\j2ee.jar;c:\jaxp\xalan.jar;c:\jaxp\crimson.jar;c:\jaxp\jaxp.jar;c:\C:\jakarta-ant-1.3\lib\ant.jar;C:\jakarta-ant-1.3\lib\jaxp.jar;C:\jakarta-ant-1.3\lib\parser.jar
    PATH=%PATH%;"C:\Program Files\Mts";C:\PROGRA~1\ULTRAE~1;c:\jdk1.3.1\bin;c:\j2sdkee1.3\bin;c:\jakarta-ant-1.3\bin;C:\PROGRA~1\MICROS~4\80\TOOLS\BINN
    Really thx for help !!!!

    Hi.
    I am compiling the sample converter.ear downloaded from
    the j2ee tutorial bundle form java.sun. I am using jakarta-ant-1.4alpha-bin.zip downloaded from jakarta
    oh..yes it should be org.apache.tools.ant.Main ....sorryfor typo.....
    look forward to any helpful reply

  • Help: OJSPC can not compile the JSP with struts tag

    Hi,
    I am trying to precompile the JSP page with EAR package but OJSPC can not parse the Struts tags.
    I always get oracle.jsp.parse.JspParseException:
    Error: org.apache.struts.taglib.html.MessgesTei while reading TLD /WEB-INF/tld/struts-html.tld
    My OC4J version is 10.1.3.2 and I did tried putting the struts-taglib.jar to /opt/oracle/product/app10g/j2ee/home/jsp/lib or /lib/taglib
    but still do not work.
    Can anyone tell me how to configure the OJSPC and let it support customerized taglibs?
    Thanks a lot!

    This is a new problem with jdk1.4 when compiling with tomcat.
    The solution is to ensure that any classes in WEB-INF/classes are in a package structure and the relevant jsp calls the same using the package name.
    best
    kev

  • Can's compile the gdbm program ?(SOLVED)

    Here is an example comes from Beginning Linux Programming 3rd ,and I can't compile it on my machine. I don't know why?? And the gdbm package is always in the base. Please help me.
    try compile 1:
    $gcc dbm1.c -o gdbm1 -lgdbm
    错误信息:
    /tmp/cc2vMknU.o: In function `main':
    dbm1.c: (.text+0x2d): undefined reference to `dbm_open'
    dbm1.c: (.text+0x244): undefined reference to `dbm_store'
    dbm1.c: (.text+0x2ee): undefined reference to `dbm_fetch'
    dbm1.c: (.text+0x379): undefined reference to `dbm_close'
    collect2: ld returned 1 exit status
    try compile 2:
    $ gcc dbm1.c -o gdbm1 -lndbm -L/usr/lib
    错误信息:
    /usr/bin/ld: cannot find -lndbm
    collect2: ld returned 1 exit status
    #include <unistd.h>
    #include <stdlib.h>
    #include <stdio.h>
    #include <fcntl.h>
    #include <ndbm.h>
    #include <string.h>
    #define TEST_DB_FILE "/tmp/dbm1_test"
    #define ITEMS_USED 3
    /* A struct to use to test dbm */
    struct test_data {
    char misc_chars[15];
    int any_integer;
    char more_chars[21];
    int main() {
    struct test_data items_to_store[ITEMS_USED];
    struct test_data item_retrieved;
    char key_to_use[20];
    int i, result;
    datum key_datum;
    datum data_datum;
    DBM *dbm_ptr;
    dbm_ptr = dbm_open(TEST_DB_FILE, O_RDWR | O_CREAT, 0666);
    if (!dbm_ptr) {
    fprintf(stderr, "Failed to open database\n");
    exit(EXIT_FAILURE);
    /* put some data in the structures */
    memset(items_to_store, '\0', sizeof(items_to_store));
    strcpy(items_to_store[0].misc_chars, "First!");
    items_to_store[0].any_integer = 47;
    strcpy(items_to_store[0].more_chars, "foo");
    strcpy(items_to_store[1].misc_chars, "bar");
    items_to_store[1].any_integer = 13;
    strcpy(items_to_store[1].more_chars, "unlucky?");
    strcpy(items_to_store[2].misc_chars, "Third");
    items_to_store[2].any_integer = 3;
    strcpy(items_to_store[2].more_chars, "baz");
    for (i = 0; i < ITEMS_USED; i++) {
    /* build a key to use */
    sprintf(key_to_use, "%c%c%d",
    items_to_store[i].misc_chars[0],
    items_to_store[i].more_chars[0],
    items_to_store[i].any_integer);
    /* build the key datum strcture */
    key_datum.dptr = (void *)key_to_use;
    key_datum.dsize = strlen(key_to_use);
    data_datum.dptr = (void *)&items_to_store[i];
    data_datum.dsize = sizeof(struct test_data);
    result = dbm_store(dbm_ptr, key_datum, data_datum, DBM_REPLACE);
    if (result != 0) {
    fprintf(stderr, "dbm_store failed on key %s\n", key_to_use);
    exit(2);
    } /* for */
    /* now try and retrieve some data */
    sprintf(key_to_use, "bu%d", 13); /* this is the key for the second item */
    key_datum.dptr = key_to_use;
    key_datum.dsize = strlen(key_to_use);
    data_datum = dbm_fetch(dbm_ptr, key_datum);
    if (data_datum.dptr) {
    printf("Data retrieved\n");
    memcpy(&item_retrieved, data_datum.dptr, data_datum.dsize);
    printf("Retrieved item - %s %d %s\n",
    item_retrieved.misc_chars,
    item_retrieved.any_integer,
    item_retrieved.more_chars);
    else {
    printf("No data found for key %s\n", key_to_use);
    dbm_close(dbm_ptr);
    exit(EXIT_SUCCESS);
    Last edited by 009lin (2007-08-19 02:29:54)

    GDBM includes dbm and ndbm compatability.
    I found the solution from the man page, it said:
    If you wish to use the dbm or ndbm  compatibility  routines,  you  must
           link in the gdbm_compat library as well.  For example:
                gcc -o prog proc.c -lgdbm -lgdbm_compat
    Last edited by 009lin (2007-08-19 02:29:27)

  • Can't compile the pngencoder.swc form the sample/libpng

    Hi,
    I tried without success to compile the png lib port form the Alchemy's sample. Is it possible to find this file pngencoder.swc already compiled?
    Thanks
    Julien Félix

    I found it, thank you fT!

  • Error when compiling the J2ee tutorial source files on win2k professional

    Hi,
    Could you help me?
    I'm trying to complete the j2ee tutorial.
    I have downloaded the example code, J2EE Sdk, J2SE and Ant from the web site (these files� name are: j2ee-1_3-doc-tutorial-draft3.zip, j2sdkee-1_3_01-win.exe, j2sdk-1_3_1_01-win.exe, jakarta-ant-1.3-bin.zip) and installed the �j2sdkee-1_3_01-win.exe, j2sdk-1_3_1_01-win.exe� and unzipped �j2ee-1_3-doc-tutorial-draft3.zip, jakarta-ant-1.3-bin.zip� to their default subdirectory.( jdk1.3.1_01,
    j2sdkee1.3,jakarta-ant-1.3)
    According to instructions, I have set the Environment Variables as the below:
    ANT_HOME=c:\jakarta-ant-1.3
    CLASSPATH=c:\sybtools\ASEP\Monclass.zip;c:\sybtools\ASEP\3pclass.zip;c:\program files\microsoft sql server 2000 jdbc\lib\mssqlserver.jar;c:\program files\microsoft sql server 2000 jdbc\lib\msbase.jar;c:\program files\microsoft sql server 2000 jdbc\lib\msutil.jar;c:\orcle\ora81\jdbc\lib\classes12.zip; c:\orcle\ora81\jdbc\lib\nls_charset12.zip;c:\program files\oracle\jdevelop 3.2.3\jdbc\lib\oracle8.1.7\classes12.zip;c:\j2sdkee1.3\lib\j2ee.jar;c:\jdk1.3.1_01\lib\tools.jar;c:\jdk1.3.1_01\lib\classes.zip;c:\jakarta-ant-1.3\lib\ant.jar
    HOMEPATH=\
    J2EE_HOME=c:\j2sdkee1.3
    JAVA_HOME=c:\jdk1.3.1_01
    OS=Windows_NT
    Os2LibPath=C:\WINNT\system32\os2\dll;
    Path=C:\oracle\ora81\bin;C:\oracle\ora81\Apache\Perl\5.00503\bin\mswin32-x86;C:\Program Files\Oracle\jre\1.1.7\bin;C:\PROGRA~1\REFLEC~1;C:\Program Files\Reflection;C:\WINNT\SYSTEM32;C:\WINNT;C:\WINNT\SYSTEM32\WBEM;C:\DMI\WIN32\BIN;C:\Program Files\Symantec\pcAnywhere\;C:\MSSQL7\BINN;C:\Sybase\DLL;C:\Sybase\BIN;C:\sybtools\WIN32;C:\sybtools\ASEP;c:\oracle\ora81\jdbc\lib;c:\j2sdkee1.3\bin;c:\jdk1.3.1_01\bin;c:\jakarta-ant-1.3\bin
    SystemRoot=C:\WINNT
    windir=C:\WINNT

    After finishing the above actions, I have started the j2ee server and deploytools successfully. But when I executed the following command( ANT CONVERTER ) under the appointed subdirectory, the error occurred.
    The information is
    �Exception in thread �main� java.lang.NoClassDefFoundError: files\Microsoft �.
    Looking forward to the answer!
    Arthur Ward
    2001-12-21

    by the way, after checking the ant_home\bin\ant.bat(see bellow)
    -------end quote----
    @echo off
    if exist "%HOME%\antrc_pre.bat" call "%HOME%\antrc_pre.bat"
    if not "%OS%"=="Windows_NT" goto win9xStart
    :winNTStart
    @setlocal
    rem %~dp0 is name of current script under NT
    set DEFAULT_ANT_HOME=%~dp0
    rem : operator works similar to make : operator
    set DEFAULT_ANT_HOME=%DEFAULT_ANT_HOME:\bin\=%
    if %ANT_HOME%a==a set ANT_HOME=%DEFAULT_ANT_HOME%
    set DEFAULT_ANT_HOME=
    rem On NT/2K grab all arguments at once
    set ANT_CMD_LINE_ARGS=%*
    goto doneStart
    :win9xStart
    rem Slurp the command line arguments. This loop allows for an unlimited number of
    rem agruments (up to the command line limit, anyway).
    set ANT_CMD_LINE_ARGS=
    :setupArgs
    if %1a==a goto doneStart
    set ANT_CMD_LINE_ARGS=%ANT_CMD_LINE_ARGS% %1
    shift
    goto setupArgs
    :doneStart
    rem This label provides a place for the argument list loop to break out
    rem and for NT handling to skip to.
    rem find ANT_HOME
    if not "%ANT_HOME%"=="" goto checkJava
    rem check for ant in Program Files on system drive
    if not exist "%SystemDrive%\Program Files\ant" goto checkSystemDrive
    set ANT_HOME=%SystemDrive%\Program Files\ant
    goto checkJava
    :checkSystemDrive
    rem check for ant in root directory of system drive
    if not exist "%SystemDrive%\ant" goto noAntHome
    set ANT_HOME=%SystemDrive%\ant
    goto checkJava
    :noAntHome
    echo ANT_HOME is not set and ant could not be located. Please set ANT_HOME.
    goto end
    :checkJava
    set _JAVACMD=%JAVACMD%
    set LOCALCLASSPATH=%CLASSPATH%
    for %%i in ("%ANT_HOME%\lib\*.jar") do call "%ANT_HOME%\bin\lcp.bat" "%%i"
    if "%JAVA_HOME%" == "" goto noJavaHome
    if "%_JAVACMD%" == "" set JAVACMD=%JAVAHOME%\bin\java
    if exist "%JAVA_HOME%\lib\tools.jar" call "%ANT_HOME%\bin\lcp.bat" "%JAVA_HOME%\lib\tools.jar"
    if exist "%JAVA_HOME%\lib\classes.zip" call "%ANT_HOME%\bin\lcp.bat"
    "%JAVA_HOME%\lib\classes.zip"
    goto checkJikes
    :noJavaHome
    if "%_JAVACMD%" == "" set _JAVACMD=java
    echo.
    echo Warning: JAVA_HOME environment variable is not set.
    echo If build fails because sun.* classes could not be found
    echo you will need to set the JAVA_HOME environment variable
    echo to the installation directory of java.
    echo.
    :checkJikes
    if not "%JIKESPATH%" == "" goto runAntWithJikes
    :runAnt
    %_JAVACMD% -classpath %LOCALCLASSPATH% -Dant.home="%ANT_HOME%" %ANT_OPTS%
    org.apache.tools.ant.Main %ANT_CMD_LINE_ARGS%
    goto end
    :runAntWithJikes
    %_JAVACMD% -classpath %LOCALCLASSPATH% -Dant.home="%ANT_HOME%" -Djikes.class.path=%JIKESPATH%
    %ANT_OPTS% org.apache.tools.ant.Main %ANT_CMD_LINE_ARGS%
    :end
    set LOCALCLASSPATH=
    set _JAVACMD=
    set ANT_CMD_LINE_ARGS=
    if not "%OS%"=="Windows_NT" goto mainEnd
    :winNTend
    @endlocal
    -------end quote----
    i found something is wrong with the sentence in ":runAnt".
    --------quote-----
    %_JAVACMD% -classpath %LOCALCLASSPATH% -Dant.home="%ANT_HOME%" %ANT_OPTS%
    org.apache.tools.ant.Main %ANT_CMD_LINE_ARGS%
    --------end quote-----
    No value was set for %ANT_OPTS% and %ANT_CMD_LINE_ARGS%

  • Where can I download the InDesign tutorial files ?

    I have watched some of the tutorials from https://helpx.adobe.com/creative-cloud/learn/tutorials/indesign.html. The first tutorial "
    How to make a brochure with InDesign (17 min)" did contain downloadable files with which the tutorial was very helpful.
    Now I have continued with "Essential tasks", but I cannot find the files they refer to in the tutorial videos. They seem to presume I have downloaded the files from somewhere (eg. at one point they talk about "Chapter 6").
    Any help would be highly appreciated.

    Hi David ,
    you stated the chapter is missing , is it not downloading or is it not there ? like is it mentioned in the contents and is not there in the book.
    i checked the preview i know it says "chapter 11 table"  but does it say the same in the contents you received ?
    Regards
    J

  • Can not compile the jsp in Tomcat 4

    Hello anyone
    Now I use jdk1.4 and Tomcat 4.0.4, and put in the directory d:\j2sdk and d:\tomcat. Even I set the classpath as follow, I still compile jsp.
    SET CLASSPATH=.;D:\j2sdk\lib\tools.jar;D:\tomcat\common\lib\servlet.jar
    but at before, i can run it at Tomcat 3.2.
    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
    org.apache.jasper.JasperException: Unable to compile class for JSPNote: sun.tools.javac.Main has been deprecated.
    D:\tomcat\work\Standalone\localhost\_\userCounter$jsp.java:4: Class or interface declaration expected.
    import javax.servlet.*;
    ^
    D:\tomcat\work\Standalone\localhost\_\userCounter$jsp.java:10: Superclass org.apache.jsp.HttpJspBase of class org.apache.jsp.userCounter$jsp not found.
    public class userCounter$jsp extends HttpJspBase {
    ^
    2 errors, 1 warning
         at org.apache.jasper.compiler.Compiler.compile(Compiler.java:285)
         at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:548)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:176)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:188)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:381)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:473)
         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 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:190)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         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:2347)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         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:468)
         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:174)
         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:1027)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1125)
         at java.lang.Thread.run(Thread.java:536)
    pls help, thank you very much!

    This is a new problem with jdk1.4 when compiling with tomcat.
    The solution is to ensure that any classes in WEB-INF/classes are in a package structure and the relevant jsp calls the same using the package name.
    best
    kev

  • How can I use the WebDynpro tutorial  template in APAB workbench?

    Hi,
    I have downloaded the tutorial template zip file from sdn (https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/webdynpro/tutorial on creating trees in web dynpro - 12.htm), but I don't know how to use it in ABAP workbench.
    Is that only for Java environment and can be used in Eclipse?
    If not, How can it be used in APAB workbench?
    Thank you.
    Swee Hu

    Hi,
    Its a template used in NDS(NetWeaver Developer Studio),in Webdynpro perspective.
    what do u mean by how can i use it in ABAP workbench?
    Sorry u cant use tat existing template.
    if u need the same feature u have to develop ur own...:)
    Regards,
    Sirisha.R.S

Maybe you are looking for