I have compiler error when i run the ant script

Hi
Iam a beginner working with ant...When I run the script I get the following error...let me know if you have any suggestions....
build:
[javac] Compiling 28 source files to C:\finaltrial\classes
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] Compiling 186 source files to C:\finaltrial\classes
[javac] error: error reading C:\finaltrial\classes\trial\impl\ru
ntime\AbstractUnmarshallingEventHandlerImpl.class; error in opening zip file
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 1 error
Thanks in advance..

that's not an error, it's a warning.
See the documentation on what causes that warning, it'll be an eye opener about the new language features introduced something like 2 years ago.

Similar Messages

  • I have a problem when I run the DTP

    hello
    the day before , I load  data in a PSA "MASTER DATA" mode full,
    then in the morning  I load data again this "MASTER DATA."
    I can see  that the same lines do not not present a problem but the lines were changed, i have a problem when I run the DTP?
    I get this messages errors:
    .« the time interval & (from/to) for the data
    ecords 1 & and 2 & overlaps in characteristic 0COSTCENTER &.u201D
    u201CMessages for data records saved; request is red acc. to configurationu201D
    best regard
    francoise dinatale

    As this is a master data load, the attribute change run is mandatory before performing the next load.
    The probable reason for this is in the master data table there is an entry for a characterisitic value and the load resulted in another value. The difference between these two records is the object version. Exisitng record will have A version and the changed record has M version.
    So when we active master data(attribute change run ) then M version overwrites A version and hence on a net we have only one record in master data table.
    Post the above task if we again load master data, as is in your case, then the record will find its place in M version.
    As the activation is not performed(probably), the system finds it difficult, with previously loaded M version and currently loaded M version and hence the reason for the message.
    Naveen.A

  • Error while running the ant script of fusion order demo -Infrastructure.jws

    Hi All,
    I was trying to run the store front application.
    As i was trying to run the scripts to create the tables, stored procedure, schemas etc, the execution of the ant script failed with the following error:
    The apache Ant log reads as follows:
    *[echo] USER_CONTEXT Package Created*
    compileImagesApp:
    *[javac] Compiling 3 source files to D:\11g\ADF-11g\FusionOrderDemo_R1PS1\Infrastructure\DBSchema\classes*
    BUILD FAILED
    D:\11g\ADF-11g\FusionOrderDemo_R1PS1\Infrastructure\Ant\build.xml:51: The following error occurred while executing this line:
    D:\11g\ADF-11g\FusionOrderDemo_R1PS1\Infrastructure\DBSchema\build.xml:312: D:\Jdev11g\oracle_common\modules\oracle.javacache_11.1.1 not found.
    Total time: 2 minutes 26 seconds
    I ignored the above error and when i tried to run the StoreFrontUI project, i was unable to see the images rendered on the User Interface.
    Can anybody help me as to why this would have happened?
    Is it not getting rendered because the ant script failed @ compileImagesApp? If so, what is the solution for the same?
    Thanks in Advance,
    Vijay

    Hi,
    Even after commenting and uncommenting the path for the imageurl variable in the ImageLoaderServiceAMImpl.java, i am getting the following error when trying to build the schema from the MasterbuildScript Project:
    compileImagesApp:
    *[javac] Compiling 3 source files to D:\11g\adf-Handson\FOD_11\Infrastructure\DBSchema\classes*
    BUILD FAILED
    D:\11g\adf-Handson\FOD_11\Infrastructure\Ant\build.xml:52: The following error occurred while executing this line:
    D:\11g\adf-Handson\FOD_11\Infrastructure\DBSchema\build.xml:262: D:\Jdev11g\jdeveloper\modules\oracle.xdk_11.1.1 not found.
    Total time: 59 seconds
    One more observation when i was changing the path in the ImageLoaderServiceAMImpl.java was that, there were lot many errors that were shown in the file:
    Following import statements were erroring out:
    import oracle.jbo.Row;
    import oracle.jbo.ViewObject;
    import oracle.jbo.domain.BlobDomain;
    import oracle.jbo.domain.DBSequence;
    import oracle.jbo.domain.Timestamp;
    import oracle.jbo.domain.Number;
    import oracle.jbo.server.ApplicationModuleImpl;
    import oracle.jbo.server.ViewObjectImpl;
    Can you please provide some pointers on this as well?
    Regards,
    Vijay Swaminathan

  • Suddently have compile errors when creates new *.jspx in new project

    I'm creating a new test case.
    I created an applicaiton and a model project without any problems.
    I created the view project and add a jspx document into without anything into. I got no errors when compiling.
    I added a adf table by dropping an iterator from the data control palette. I got these errors when i recompiled.
    A library seem to be missing for the project or something like that. I don't understand why the web project is not correctly setted.
    Project: C:\oracle\product\jdeveloper\jdev\mywork\TestCastor\view\view.jpr
    C:\oracle\product\jdeveloper\jdev\mywork\TestCastor\view\public_html\WEB-INF\classes\.jsps\_untitled1_jspx.java
    Error(69,54): field EVAL_BODY_AGAIN not found in interface javax.servlet.jsp.tagext.BodyTag
    Error(85,21): method handlePageException(java.lang.Throwable) not found in class javax.servlet.jsp.PageContext
    C:\oracle\product\jdeveloper\jdev\mywork\TestCastor\view\public_html\untitled1.jspx
    Error(52,50): method doAfterBody() not found in class javax.faces.webapp.FacetTag
    Error(52,50): field EVAL_BODY_AGAIN not found in interface javax.servlet.jsp.tagext.BodyTag
    Error(52,50): field EVAL_BODY_AGAIN not found in interface javax.servlet.jsp.tagext.BodyTag
    Error(52,50): method handlePageException(java.lang.Throwable) not found in class javax.servlet.jsp.PageContext
    Does somebody already have this problem and know how to solve it ?

    I found the problem.
    We added some librairies in the model problem and they was in conflict with the librairies in the view project. Removing unnecesary librairies from the model solve the problem (i think servlet.jar was the problem).

  • I am getting this error  when i run the webdynpro application

    I am getting follwoing error, when i click on the link available in the webdypro application. Please tell me what is the reason,
    Error stacktrace:
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: is.eimskip.pdfmodel.Zmulti_Pdf
    Found in negative cache
    Loader Info -
    ClassLoader name: [local/SalesOrder]
    Parent loader name: [Frame ClassLoader]
    References:
       common:service:http;service:servlet_jsp
       service:ejb
       common:service:iiop;service:naming;service:p4;service:ts
       service:jmsconnector
       library:jsse
       library:servlet
       common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl
       library:ejb20
       library:j2eeca
       library:jms
       library:opensql
       common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:com.sap.security.core.ume.service;service:connector;service:dbpool;service:keystore;service:security;service:userstore
       interface:resourcecontext_api
       interface:webservices
       interface:ejbserialization
       sap.com/tcwddispwda
       sap.com/tcwdcorecomp
       service:webdynpro
       service:sld
       library:tcddicddicservices
       library:com.sap.aii.proxy.framework
       library:tcgraphicsigs
       library:com.sap.mw.jco
       library:com.sap.lcr.api.cimclient
       library:sapxmltoolkit
       library:com.sap.aii.util.rb
       library:com.sap.util.monitor.jarm
       library:tcddicddicruntime
       library:com.sap.aii.util.xml
       library:tccolapi
       library:com.sap.aii.util.misc
       library:tc~cmi
       library:tccolruntime
    Resources:
       D:\usr\sap\EPD\JC01\j2ee\cluster\server0\apps\local\SalesOrder\webdynpro\public\lib\app.jar
    Loading model: {parent,references,local}
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModelClass.createNewBaseTypeDescriptor(AiiModelClass.java:378)
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModelClass.descriptor(AiiModelClass.java:186)
         at is.eimskip.pdfmodel.Zbapi_Salesorder_Getpdf_Output_Input.<init>(Zbapi_Salesorder_Getpdf_Output_Input.java:51)
         at is.eimskip.comp.PDFCust.GetPdfFileName(PDFCust.java:145)
         at is.eimskip.comp.wdp.InternalPDFCust.GetPdfFileName(InternalPDFCust.java:171)
         at is.eimskip.comp.ResultView.onActionShowBL(ResultView.java:409)
         at is.eimskip.comp.wdp.InternalResultView.wdInvokeEventHandler(InternalResultView.java:365)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.invokeEventHandler(DelegatingView.java:87)
         at com.sap.tc.webdynpro.progmodel.controller.Action.fire(Action.java:67)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleAction(WebDynproMainTask.java:100)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:299)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:640)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:251)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:391)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:265)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:345)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:323)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:865)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:240)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    Caused by: java.lang.ClassNotFoundException: is.eimskip.pdfmodel.Zmulti_Pdf
    Found in negative cache
    Loader Info -
    ClassLoader name: [local/SalesOrder]
    Parent loader name: [Frame ClassLoader]
    References:
       common:service:http;service:servlet_jsp
       service:ejb
       common:service:iiop;service:naming;service:p4;service:ts
       service:jmsconnector
       library:jsse
       library:servlet
       common:library:IAIKSecurity;library:activation;library:mail;library:tcsecssl
       library:ejb20
       library:j2eeca
       library:jms
       library:opensql
       common:library:com.sap.security.api.sda;library:com.sap.security.core.sda;library:security.class;library:webservices_lib;service:com.sap.security.core.ume.service;service:connector;service:dbpool;service:keystore;service:security;service:userstore
       interface:resourcecontext_api
       interface:webservices
       interface:ejbserialization
       sap.com/tcwddispwda
       sap.com/tcwdcorecomp
       service:webdynpro
       service:sld
       library:tcddicddicservices
       library:com.sap.aii.proxy.framework
       library:tcgraphicsigs
       library:com.sap.mw.jco
       library:com.sap.lcr.api.cimclient
       library:sapxmltoolkit
       library:com.sap.aii.util.rb
       library:com.sap.util.monitor.jarm
       library:tcddicddicruntime
       library:com.sap.aii.util.xml
       library:tccolapi
       library:com.sap.aii.util.misc
       library:tc~cmi
       library:tccolruntime
    Resources:
       D:\usr\sap\EPD\JC01\j2ee\cluster\server0\apps\local\SalesOrder\webdynpro\public\lib\app.jar
    Loading model: {parent,references,local}
         at com.sap.engine.frame.core.load.ReferencedLoader.loadClass(ReferencedLoader.java:348)
         at com.sap.tc.webdynpro.modelimpl.dynamicrfc.AiiModelClass.createNewBaseTypeDescriptor(AiiModelClass.java:373)
         ... 32 more

    Found in negative cache.... very strange.
    RFC found in negative cache
    What is the negative cache?

  • Wierd error when I run the script..

    HI all,
    I am running a script one script which should insert data in some tables.
    We are in Merging process from one application to another.
    The code that I run in one environment works fine and creates data, how ever if I run it in next it does not insert any data and shows some unique_constraint_error.
    ORA-00001: unique constraint (schema_name.constraint_name) violated
    I have searched the constraint in all tables (all_constraints, user_constraints, dba_constraints..) of all schemas from dev, test or prod environment in both applications but I am not getting this constraint_name.
    I really need help gurus.. and I appreciate everyone who spares their time to reply in this forums :)

    Tina wrote:
    HI all,
    I am running a script one script which should insert data in some tables.
    We are in Merging process from one application to another.
    The code that I run in one environment works fine and creates data, how ever if I run it in next it does not insert any data and shows some unique_constraint_error.
    ORA-00001: unique constraint (schema_name.constraint_name) violated
    I have searched the constraint in all tables (all_constraints, user_constraints, dba_constraints..) of all schemas from dev, test or prod environment in both applications but I am not getting this constraint_name.
    I really need help gurus.. and I appreciate everyone who spares their time to reply in this forums :)SQL> insert into employees (employee_id,last_name,email,hire_date,job_id) values(100,'LAST','[email protected]',to_date('12-11-10','YY-MM-DD'),'JOB_ID');
    insert into employees (employee_id,last_name,email,hire_date,job_id) values(100,'LAST','[email protected]',to_date('12-11-10','YY-MM-DD'),'JOB_ID')
    ERROR at line 1:
    ORA-00001: unique constraint (HR.EMP_EMP_ID_PK) violated
    SQL> show user
    USER is "HR"
    SQL>
    please NOTE error message identifies both the SCHEMA & CONSTRAINT_NAME that was violated!
    What better clue do you require?????????

  • Error when I run the procedure

    Can someone look at the below procedure and let me know how can I fix the error msg. thanks
    SQL> create or replace procedure getvendor( p_cursor in out types.cursorType )
      2  as
      3  begin
      4 
      5  open p_cursor for SELECT DISTINCT
      6  V.VENDOR ,
      7  R.ADDRNUM,
      8  V.VNAMEL,
      9  R.AADDR1,
    10  R.ACITY,
    11  R.ASTATE,
    12  R.AZIPCODE,
    13  R.APHONE,
    14  TO_Char( (MAX(P.DATEPUR)), 'YYYY-MM-DD') as Purchase_Date
    15  FROM VENDOR V,
    16  VENDADDR R,
    17  PLANHOLD P
    18  WHERE V.VENDOR = R.VENDOR AND
    19  P.VENDOR = R.VENDOR AND
    20  (P.DATEPUR >= TO_DATE('2002-01-01','YYYY-MM-DD') )
    21  AND V.VOBSOLET = 'N' GROUP BY V.VENDOR, R.ADDRNUM, V.VNAMEL, R.AADDR1, R.ACITY, R.ASTATE,R.AZIP
    CODE, R.APHONE ORDER BY V.VNAMEL;
    22 
    23  end;
    24 
    25  /
    Warning: Procedure created with compilation errors.
    SQL> show err
    Errors for PROCEDURE GETVENDOR:
    LINE/COL ERROR
    0/0      PL/SQL: Compilation unit analysis terminated
    1/38     PLS-00201: identifier 'TYPES.CURSORTYPE' must be declared
    SQL>

    It seems you followed Tom Kyte's example from here http://asktom.oracle.com/~tkyte/ResultSets/index.html
    But you forgot to create the package
    create or replace package types
    as
        type cursorType is ref cursor;
    end;
    / If you are using 9.2 or above you can use the predefined SYS_REFCURSOR rather than declaring your own type
    create or replace procedure getvendor( p_cursor in out SYS_REFCURSOR )

  • I get a 201 error when I run the installer

    I'm installing on a Win 7 laptop with IE8 and Chrome. I get an error message when I try to install the installer.
    Error code: 201.
    What is this? Is it permissions related? I'm supposed to have install privileges.
    Tom

    O G's Y Me Error 201 is a download error.  You can find more details at Error downloading Creative Cloud applications - http://helpx.adobe.com/creative-cloud/kb/error-downloading-cc-apps.html.

  • After upgrade to lastest version af iTunes (10.3.1, I believe), I get this error, when iTunes runs the update of my iTunes library

    I get this error message from Windows: Instruction af 0x76f8de2d referred memey at 0x000000ca. Memory could not be written.
    The iTunes stops working.
    I am running Windows Vista with lastest updates from Microsoft. My iTunes folder is located on a QNAP nas drive.  I have around 58500 podcast, about 15 CDs, some iPhone apps in my iTunes folder.
    What do I do?

    That's most likely a problem with a library file or a content file, Per.
    I'd perhaps try a library recreation first. There's advice for both types of issues in the User-specific troubleshooting section of the following document:
    iTunes for Windows Vista or Windows 7: Troubleshooting unexpected quits, freezes, or launch issues

  • I always have an error when I test the WSC program

    I have installed the tuxedo 6.5. and test the simpcl sample program. after finished "buildclient -f simpcl.c -o simpcl -w",
    and run it ,it report the "system internal error" message.
    The enviroment variable "WSNADDR" has been set,and the ubbconfig file is modified for the WSC model.
    who can help to solve this problem?

    you should type this:
    buildclient -w -o simpcl -f simpcl.c
    "jonson" <[email protected]> wrote:
    >
    I have installed the tuxedo 6.5. and test the simpcl sample program. after finished "buildclient -f simpcl.c -o simpcl -w",
    and run it ,it report the "system internal error" message.
    The enviroment variable "WSNADDR" has been set,and the ubbconfig file is modified for the WSC model.
    who can help to solve this problem?

  • I am getting this error when i run the code in visual studio 2012 ultimate.The code is perfect one but i am getting error. Please help me.Thanks in advance

    WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive).
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 
    Exception Details: System.InvalidOperationException: WebForms UnobtrusiveValidationMode requires a ScriptResourceMapping for 'jquery'. Please add a ScriptResourceMapping named jquery(case-sensitive).

    You should post to the ASP.NET forum.
    http://forums.asp.net/

  • Getting -90031 (can't find function) error from Mathscript node when running executable, but works when I run the pre-compiled VI

    I have set the Mathscript preferences 'Path' and 'Working Directory' parameters to the folder containing my scripts, and it works when
    I run the VI, but I get a -90031 error when I run the executable.
    What am I doing wrong?

    Hi Umars,
    I had the same problem. In my case it turned out that it was caused the surrounding code. Plus the error
    message was missleading. I got the error message -90031 (unknown symbol CalcWelchCorr2) for the
    following piece of code:
    ecorr= 1;
    if setup & src== 1
       for lag= 1:50
       rho=  CalcWelchCorr2( lag, win );
       if rho > 0.001, ecorr= [ecorr; rho]; else, break; end
    end
    CalcWelchCorr2 is a user defined function located in the MS search path. The problem was caused by the
    "break" in line 5. Actually this line was marked by some little warning symbol. Eventualle I modified the code
    to get rid of the break
    ecorr= 1;
    if setup & src== 1
       lag= 1; rho=  CalcWelchCorr2( lag, win );
       while rho > 0.001 && lag <= 50
          ecorr= [ecorr; rho];
          lag= lag+ 1; rho= CalcWelchCorr2( lag, win );
       end
    end
    and voila, the executable worked fine.
    However, I had to check all my VIs ( > 200 !) for similar errors which gave me headaches.
    Why does the application builder doesn't produce some appropriate error message ?
    E.g. "Line xxx in MathScript node in VI xxx cannot be executed"? Currently you get the
    impression that the application was build successfully but eventually you get strange errors
    or even erroneous results. Keep in mind that tracking down bugs in the final application is
    much more difficult that in LV. Also the error message produced by the executable was not
    helpfull at all.

  • Error when running  the ant task

    Hi,
    I got an error when running the ant from jdeveloper .I was running the to build my J2EE module which is build in Java 1.4 . I have changed my java home to JDK 1.4 and then run the ant build i got the following error .The class and ejbc compilation is completing nicely but the error is happening at jar creation .Please help me . One more thing ,when i run the ant task from the command prompt ,it is working fine .
    AuditSearchVO), audit(com.ibsplc.iRes.audit.vo.BaseAuditVO)] >
    [java] java.io.IOException: CreateProcess: javac -nowarn -classpath D:\applns\bea\jdk142_08\jre\lib\rt.jar;D:\applns\bea\jdk142_08\jre\lib\i18n.jar;D:\applns\bea\jdk142_08\jre\lib\sunrsasign.jar;D:\applns\bea\jdk142_08\jre\lib\jsse.jar;D:\applns\bea\jdk142_08\jre\lib\jce.jar;D:\applns\bea\jdk142_08\jre\lib\charsets.jar;D:\applns\bea\jdk142_08\jre\classes;D:\Project\Development\aiRES1.7\classes;D:\Project\Development\aiRES1.7\ibase.jar;D:\applns\bea\weblogic81\server\lib\weblogic.jar;D:\applns\bea\weblogic81\server\lib\wlcipher.jar;D:\applns\bea\weblogic81\server\lib\jsafeFIPS.jar;D:\applns\bea\weblogic81\server\lib\webservices.jar;D:\applns\bea\weblogic81\server\lib\xmlx.jar;D:\applns\bea\weblogic81\server\lib\jconn2.jar;D:\applns\bea\weblogic81\server\lib\jConnect.jar;D:\applns\bea\weblogic81\server\lib\EccpressoAsn1.jar;D:\applns\bea\weblogic81\server\lib\EccpressoCore.jar;D:\applns\bea\weblogic81\server\lib\EccpressoJcae.jar;D:\applns\bea\weblogic81\server\lib\ant\ant.jar;D:\applns\bea\weblogic81\server\lib\ant\optional.jar;D:\applns”
    [java]      at java.lang.Win32Process.create(Native Method)
    [java]      at java.lang.Win32Process.<init>(Win32Process.java:66)
    [java]      at java.lang.Runtime.execInternal(Native Method)
    [java]      at java.lang.Runtime.exec(Runtime.java:566)
    [java]      at java.lang.Runtime.exec(Runtime.java:491)
    [java]      at java.lang.Runtime.exec(Runtime.java:457)
    [java]      at weblogic.utils.Executable.exec(Executable.java:227)
    [java]      at weblogic.utils.Executable.exec(Executable.java:156)
    [java]      at weblogic.utils.Executable.exec(Executable.java:142)
    [java]      at weblogic.utils.compiler.CompilerInvoker.execCompiler(CompilerInvoker.java:249)
    [java]      at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:428)
    [java]      at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
    [java]      at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
    [java]      at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270)
    [java]      at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
    [java]      at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:397)
    [java]      at weblogic.ejbc20.runBody(ejbc20.java:517)
    [java]      at weblogic.utils.compiler.T

    Hi,
    I got an error when running the ant from jdeveloper .I was running the to build my J2EE module which is build in Java 1.4 . I have changed my java home to JDK 1.4 and then run the ant build i got the following error .The class and ejbc compilation is completing nicely but the error is happening at jar creation .Please help me . One more thing ,when i run the ant task from the command prompt ,it is working fine .
    AuditSearchVO), audit(com.ibsplc.iRes.audit.vo.BaseAuditVO)] >
    [java] java.io.IOException: CreateProcess: javac -nowarn -classpath D:\applns\bea\jdk142_08\jre\lib\rt.jar;D:\applns\bea\jdk142_08\jre\lib\i18n.jar;D:\applns\bea\jdk142_08\jre\lib\sunrsasign.jar;D:\applns\bea\jdk142_08\jre\lib\jsse.jar;D:\applns\bea\jdk142_08\jre\lib\jce.jar;D:\applns\bea\jdk142_08\jre\lib\charsets.jar;D:\applns\bea\jdk142_08\jre\classes;D:\Project\Development\aiRES1.7\classes;D:\Project\Development\aiRES1.7\ibase.jar;D:\applns\bea\weblogic81\server\lib\weblogic.jar;D:\applns\bea\weblogic81\server\lib\wlcipher.jar;D:\applns\bea\weblogic81\server\lib\jsafeFIPS.jar;D:\applns\bea\weblogic81\server\lib\webservices.jar;D:\applns\bea\weblogic81\server\lib\xmlx.jar;D:\applns\bea\weblogic81\server\lib\jconn2.jar;D:\applns\bea\weblogic81\server\lib\jConnect.jar;D:\applns\bea\weblogic81\server\lib\EccpressoAsn1.jar;D:\applns\bea\weblogic81\server\lib\EccpressoCore.jar;D:\applns\bea\weblogic81\server\lib\EccpressoJcae.jar;D:\applns\bea\weblogic81\server\lib\ant\ant.jar;D:\applns\bea\weblogic81\server\lib\ant\optional.jar;D:\applns”
    [java]      at java.lang.Win32Process.create(Native Method)
    [java]      at java.lang.Win32Process.<init>(Win32Process.java:66)
    [java]      at java.lang.Runtime.execInternal(Native Method)
    [java]      at java.lang.Runtime.exec(Runtime.java:566)
    [java]      at java.lang.Runtime.exec(Runtime.java:491)
    [java]      at java.lang.Runtime.exec(Runtime.java:457)
    [java]      at weblogic.utils.Executable.exec(Executable.java:227)
    [java]      at weblogic.utils.Executable.exec(Executable.java:156)
    [java]      at weblogic.utils.Executable.exec(Executable.java:142)
    [java]      at weblogic.utils.compiler.CompilerInvoker.execCompiler(CompilerInvoker.java:249)
    [java]      at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:428)
    [java]      at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
    [java]      at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
    [java]      at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270)
    [java]      at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
    [java]      at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:397)
    [java]      at weblogic.ejbc20.runBody(ejbc20.java:517)
    [java]      at weblogic.utils.compiler.T

  • Compilation errors when using java 5.0 features

    Hi,
    I modified the make script in my project to use JDK 1.5.0_11 compiler. instead of 1.4.2 compiler. But when I run the make script, it is throwing errors for all the JDK 1.5.0 features like for-each construct, auto-boxing etc..
    Please let me know if I am issing anything.
    It compiles successfully in my IDE.
    Thanks,
    Ravikumar

    May be. I am not expert in Make. I can see that it is using the programatic interface sun.tools.javac.Main to compile. Also -bootclasspath option is being used. But I dont see any -target option. So I am confused.

  • Compilation error when java 5.0 features are used.

    Hi,
    I modified the make script in my project to use JDK 1.5.0_11 compiler. instead of 1.4.2 compiler. But when I run the make script, it is throwing errors for all the JDK 1.5.0 features like for-each construct, auto-boxing etc..
    Please let me know if I am issing anything.
    It compiles successfully in my IDE.
    Thanks,
    Ravikumar

    Multiply crossposted.

Maybe you are looking for