JAG error: duplicate definition of class

Hi,
When I run the JAG it adds duplicate class definitions to my JPR file. For example:
Error(21,8): duplicate definition of class ky.gov.pwdwo.model.bc4j.handler.PwdWorkOrderHandlerImpl
I can compile and run the application after I remove the duplicates from the JPR file.
Any thoughts?
Cheers,
Patrick Cimolini

Patrick,
This can happen if the source path defined in the JHeadstart Application Structure File does not match the source path of the project properties. You probably already had existing handlers in the project's source path, and then JHeadstart generates another set in the source path indicated by the Application Structure File (which appear in the System Navigator under Miscellaneous Files).
So if you change the Application Structure File's source path setting to be equal to the source path of your project, and remove the handlers from the other path, then it should be OK.
Hope this helps,
Sandra Muller
JHeadstart Team
Oracle Consulting

Similar Messages

  • "duplicate definition of class x"

    I moved a class from one directory to another. Now JDev 3.0 gives me the error "Duplicate definition of class x".
    I've tried rebuild. I've tried deleteing all the class files. I've tried exiting JDev and restart it.
    I still get the error. How do I get rid of this error?

    I can compile just the class x with no problem. When I do a make or rebuild of the project, then the problem happens.

  • JSP - duplicate definition of method

    Hello all Java Gurus: I am kind of new to java, and am having issue with an application. When I compile an application, I get an error "duplicate definition of method" in few of the jsp pages. This is because the include pages are getting duplicated.
    Any way to get around it?
    Thanks for your time

    If you declare the methods static, then you don't need to instantiate a class to call the method.
    But I wouldn't worry. Instantiating classes is cheap, though Database connections would be expensive. They should be served from a JNDI datasource.
    That I instantiate the class once, and the object is available across multiple jsp pages.....You could always define the bean as application scoped attribute, available to all resources.
    It depends - what do the methods do? Are they completely independant of the object? Then make them static.
    If not, then you need to instantiate it, and keep in mind what the scope of the variable needs to be for threading purposes.
    Cheers,
    evnafets

  • Duplicate definition of variable & JBO-25001 exception

    after generating bc4j model through JDG when compiling my project model, display following error:'duplicate definition of variable',But if i uncheck 'Generate Java file' it compile correctly but when run the application shows the following error in iexplorer....
    JBO-30003: ....
    exception:oracle.jbo.JboException: JBO-29000: JBO-29000:JBO-25001:

    Rigo,
    JDG 10.1.2 is an extension of the JDeveloper ADF Business Components Generator. In general, you can check if a problem is caused by that underlying generator by running that generator separately. You can run this from the model project, choose New, select Business Tier, and then Business Components. Select "Business Components Generated from Oracle Designer".
    In this case, maybe you are running into a known bug of the ADF BC Generator (JDeveloper bug 4284270):
    Double Attributes is generated in the Java file of Entity object when you have more than one Foreign Keys between the same two Tables. Accessor Attributes are generated with identical names for each FK in the Associations. This results in double names for the item constants in the implementation class of the Entity.
    Workaround:
    Rename the accessors manually by double-clicking the Entity Association, selecting the Association Properties category, and typing in different (more meaningful) Accessor Names.
    hope this helps,
    Sandra Muller
    JHeadstart Team
    Oracle Consulting

  • SCM-JDeveloper 9.0.3i: Duplicate Definition

    I am using Oracle 9.0.3.10.90(the latest download on the net) and Oracle Repository Release 9.0.2.91.22. The problem occurs when I do a checkin of my project file and check out. Some of the files do not compile when I do a make on the project file with the error : duplication definition of class [classname] . But,when I compile the file alone, it does compile properly. I would appreciate if someone lets me know what could be the plausible causes for this error!
    Thanks,
    Nan

    Timo Hahn wrote:
    It's quite a long time since I used 9.0.3.5, but from my memory I can tell you that I never got cvs running in jdev. I used WinCvs on our windows machines as external program without any problem. That's too bad. WinCVS was going to be my next stop.

  • How does the Error Row Definition and Error Message Lookup setup work?

    Suppose I use web ADI to load data to PA_TRANSACTION_INTERFACE_ALL (This is Oracle standard Interface table for Projects)
    I call a Importer (The Importer is called post upload of data to above Interface Table). The Importer will update the Interface table columns (TRANSACTION_STATUS_CODE) and (TRANSACTION_REJECTION_CODE) with values based on the clearing all validations. If validation fails, the column, TRANSACTION_STATUS_CODE is updated with value 'R' and TRANSACTION_REJECTION_CODE has the error code. This error code is stored in the Lookup, with Lookup Type = 'TRANSACTION REJECTION REASON'
    I define the Error Row Definition as follows -
    select * from PA_TRANSACTION_INTERFACE_ALL where TRANSACTION_STATUS_CODE = 'R' and BATCH_NAME = $param$.batchname (BATCH_NAME is populated in the Web ADI Template)
    I define the Error Message Lookup as -
    select meaning from apps.fnd_lookup_values where lookup_type ='TRANSACTION REJECTION REASON'
    and language='US' and lookup_code = $param$.TRANSACTION_REJECTION_CODE
    I have defined the , Document Row : Interface Attribute Mapping - with the column, ORIG_TRANSACTION_REFERENCE (THe column with the Unique value for a row and links the Excel row with the Interface table)
    I feel my setups are fine. Still why the Error -
    An error has occurred while running an API import. The ERRORED_ROWS step 275:ER_501996, parameter number 1 must contain the value BIND in attribute 1.

    Duplicate post -- https://community.oracle.com/thread/2615675

  • Wscompile error : duplicate

    environment: JAX-RPC Standard Implementation (1.1.2_01, build R40)
    Server: Sun Application Server 8.0
    Problem Statement:
    We have two schemas suppose abc.xsd and cde.xsd which refer to one another i.e. abc.xsd imports cde.xsd and vice-versa (circular referencing).
    There is a WSDL that imports in the type definition another schema say A.xsd which in turn imports abc.xsd. config-wsdl.xml refers to this WSDL.
    On running the following command to generate server side artifacts:
    wscompile -gen:server -d build -classpath build -mapping mapping.xml config-wsdl.xml
    we get the following error:
    error: modeler error: duplicate "element" entity
    Is there any mechanism (like setting a flag/using some option )by which wscompile should include definitions of the schemas only once or some other solution to overcome this duplicate element entity error. Since there is no control over xsd's, we cannot modify the schema.
    Thanks in advance
    Regards
    anjali

    Hi,
    I have a duplicate error of another reason. I try to generate client stubs on a WSDL which has many identical type names but in different namespaces.
    - Is there any way to tell wscompile to map the different namspaces automatically to different packagenames?
    There will be more and more such webservices with identical types in different namespaces in it. I have to use them and I wan't have the possibility to write for each single webservice explicit namspace / packagename mappings in the config files.
    - Does somebody know a solution?

  • Error while defining class: com.crystaldecisions.data.xml.CRDB_XMLImpl This error indicates that the class: OCA.OCAdbdll.DbDLLOperations could not be located while defining the class: com.crystaldecisions.data.xml.CR...

    Post Author: lkamesam
    CA Forum: Integrated Solutions
    Hi,
            I am running Crystal Reports version 10 from IBM Rational 6.0.1  build 20050725_1800 XML data source. When I try to run the report under WAS 6.0.1 I get the following error:
    Does any body have any clue how to resolve my problem? Thanks
    Error 500: Error while defining class: com.crystaldecisions.data.xml.CRDB_XMLImpl This error indicates that the class: OCA.OCAdbdll.DbDLLOperations could not be located while defining the class: com.crystaldecisions.data.xml.CRDB_XMLImpl This is often caused by having the class at a higher point in the classloader hierarchy Dumping the current context classloader hierarchy: ==> indicates defining classloader *** indicates classloader where the missing class could have been found ==>&#91;0&#93; com.ibm.ws.classloader.CompoundClassLoader@163dd786 Local ClassPath: C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\classes;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\bobj_platform_jsf.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\cecore.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\celib.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\ceplugins.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\cereports.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\cesession.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\clientlogic.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\Concurrent.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\CorbaIDL.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\CRDBXMLExternal.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\CRDBXMLServer.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\CrystalCharting.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\CrystalCommon.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\CrystalContentModels.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\CrystalExporters.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\CrystalExportingBase.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\CrystalFormulas.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\CrystalQueryEngine.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\CrystalReportEngine.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\CrystalReportingCommon.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\ebus405.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\icu4j.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\jrcerom.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\jsf_common.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\keycodeDecoder.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\log4j.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\MetafileRenderer.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\rasapp.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\rascore.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\rpoifs.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\serialization.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\URIUtil.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\webreporting-jsf.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\webreporting.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\xercesImpl.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\xmlParserAPIs.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent; Delegation Mode: PARENT_FIRST &#91;1&#93; com.ibm.ws.classloader.JarClassLoader@338761606 Local Classpath: Delegation mode: PARENT_FIRST &#91;2&#93; com.ibm.ws.classloader.ProtectionClassLoader@38e75786 &#91;3&#93; com.ibm.ws.bootstrap.ExtClassLoader@7e475784 &#91;4&#93; sun.misc.Launcher$AppClassLoader@7e5a5784 &#91;5&#93; sun.misc.Launcher$ExtClassLoader@7e565784 -Original exception- java.lang.NoClassDefFoundError: OCA/OCAdbdll/DbDLLOperations at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code)) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java(Compiled Code)) at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:576) at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code)) at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled Code)) at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code)) at com.crystaldecisions.reports.queryengine.driver.i.<init>(Unknown Source) at com.crystaldecisions.reports.queryengine.driver.i.case(Unknown Source) at com.crystaldecisions.reports.queryengine.av.ak(Unknown Source) at com.crystaldecisions.reports.queryengine.av.else(Unknown Source) at com.crystaldecisions.reports.queryengine.av.byte(Unknown Source) at com.crystaldecisions.reports.queryengine.av.do(Unknown Source) at com.crystaldecisions.reports.queryengine.as.new(Unknown Source) at com.crystaldecisions.reports.queryengine.at.long(Unknown Source) at com.crystaldecisions.reports.reportdefinition.datainterface.j.a(Unknown Source) at com.crystaldecisions.reports.reportdefinition.datainterface.j.a(Unknown Source) at com.crystaldecisions.reports.reportdefinition.datainterface.j.a(Unknown Source) at com.crystaldecisions.reports.reportdefinition.cy.b(Unknown Source) at com.crystaldecisions.reports.reportdefinition.cy.long(Unknown Source) at com.crystaldecisions.reports.reportdefinition.a1.o(Unknown Source) at com.crystaldecisions.reports.reportdefinition.a1.a(Unknown Source) at com.crystaldecisions.reports.common.ab.a(Unknown Source) at com.crystaldecisions.reports.common.ab.if(Unknown Source) at com.crystaldecisions.reports.reportdefinition.a1.if(Unknown Source) at com.crystaldecisions.reports.reportdefinition.a1.o(Unknown Source) at com.crystaldecisions.reports.reportengineinterface.a.a(Unknown Source) at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.a(Unknown Source) at com.crystaldecisions.reports.reportengineinterface.JPEReportSourceFactory.createReportSource(Unknown Source) at com.crystaldecisions.report.web.a.a.K(Unknown Source) at com.crystaldecisions.report.web.event.aa.a(Unknown Source) at com.crystaldecisions.report.web.event.aa.a(Unknown Source) at com.crystaldecisions.report.web.event.bx.a(Unknown Source) at com.crystaldecisions.report.web.event.b1.broadcast(Unknown Source) at com.crystaldecisions.report.web.event.as.a(Unknown Source) at com.crystaldecisions.report.web.WorkflowController.if(Unknown Source) at com.crystaldecisions.report.web.WorkflowController.doLifecycle(Unknown Source) at com.crystaldecisions.report.web.ServerControl.a(Unknown Source) at com.crystaldecisions.report.web.ServerControl.processHttpRequest(Unknown Source) at com.crystaldecisions.report.web.viewer.taglib.ServerControlTag.doEndTag(Unknown Source) at com.crystaldecisions.report.web.viewer.taglib.ReportServerControlTag.doEndTag(Unknown Source) at com.ibm._jsp._sample._jspx_meth_crviewer_viewer_0(_sample.java:135) at com.ibm._jsp._sample._jspService(_sample.java:77) at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:88) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629) at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:117) at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:171) at com.ibm.ws.jsp.webcontainerext.JSPExtensionProcessor.handleRequest(JSPExtensionProcessor.java:230) at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2837) at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220) at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:201) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:103) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934) at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021) at

    For those who would have the same problem, here is how I could eventually fix it.
    Since the Flex Test Drive is sometimes out of sync with flash builder 4, I recreated a project using other help pages on Adobe site :
    Entry point :
    http://help.adobe.com/en_US/Flex/4.0/AccessingData/WSbde04e3d3e6474c4-668f02f4120d422cf08- 7ffd.html
    As suggested, I used the New Project wizard to create a new project, with :
    Application server type : J2EE
    Check the radio button "Use remote object access service : BlazeDS"
    Then, as indicated in following pages (section "Accessing BlazeDS")... :
    file:///C:/Mes%20documents%20C/Commun/Developpement/Documentation/HT-Tracks/AccessingData/ help.adobe.com/en_US/Flex/4.0/AccessingData/WSbde04e3d3e6474c4-668f02f4120d422cf08-7ffe.ht ml#WSbde04e3d3e6474c4-19a3f0e0122be55e1b7-8000
    ...I selected the "Data / Connect to Data/Services..." menu option, which started the Data/service connection wizard.
    There, I selected a BlazeDS (and not Web Services) service type, and everything went fine.
    Suggestion to adobe staff : maybe it would be useful to update the Flex Test Drive to reflect Flash Builder 4 ?
    Very nice product anyway, so far, congratulations...
    Rgds
    Marc.

  • RFC Connection error duplicate conversation id

    Hello everybody !
    I started getting a weird error on my XI RFC Connections, because of this I can't connect to my SLD.
    When testing the RFC connection "AI_DIRECTORY_JCOSERVER", “Ai_RUNTIME_JCOSERVER”, “LCRSAPRFC” and “SAPSLDAPI” (trans sm59) I get the following error:
    ERROR duplicate conversation id 34212218 from localhost/sapgw01 and   calhost/  pgw00
    COMPONENT CPIC (TCP/IP) with Unicode
    COUNTER 87
    MODULE r3cpic.c
    LINE 5432
    RETURN CODE 736
    SUBRC 0
    RELEASE 640
    TIME Tue Dec 07 12:43:22 2004
    VERSION 3
    Does anybody have any idea/clues on this? thanx!
    Martial

    Hello !
    I have the same problem you had ...
    Do you solve your problem and how ?
    Thanks in advance
    Martial

  • I'm trying to use import com.adobe.crypto.* on Windows version of my App but get error 1172:Definition com.adobe.crypto could not be found

    The Mac version of my Air app works fine, so does the iPad version, but the PC version has been a bit of a nightmare.
    I keep getting the error "1172:Definition com.adobe.crypto could not be found", when I publish it.
    Basically the 'com' folder is in the same directory as the app I am publishing and within that is 'adobe' and within that is 'crypto' within that is a series of .as files.
    I've added C:\Users\Gary\Documents\My_Applications\My_App_folder\com\adobe\crypto to source path list (I have no idea if that's right).
    But that just gives me a different error 5001: The name of package com.adobe.crypto does not reflect the location of this file. Please change the package definitions name inside the file.......
    I didn't have to include this source in the Mac version... but someone seemed to suggest it on a forum.
    I'm basically stabbing in the dark at the mount, something I seem to be doing a lot of these days. :-(
    Any help would be greatly appreciated.
    Many Thanks
    Gary

    I've figured it out
    Turns out I needed to add a source path (in the Actionscript 3 settings click on the Source File Tab) that exactly matches the directory the app and com folder is inside of. I wrongly assumed that Adobe Air could figure out where it was for itself, but no.... it needs to be told where to look for the com folder even though it's staring it right in its face. (Don't set the path to the 'com' folder itself, but to the enclosing folder that the .fla and the com is in).
    The Mac version doesn't seem to need that, it just finds the com folder if it's inside the same folder.
    Now I've got another massive error:-
    When I test the app, it works fine sending to Air for Desktop, however when I publish with embedded runtime for Windows.... It comes up with this error.
    Any ideas ?

  • I created boolean references in my main vi block diagram and copied them to my sub vi front panel. when wire my reference in my main vi to one the input node of the sub vi the wire is broken. the error says its a class conflict why?

    i created boolean references in my main vi block diagram and copied them to my sub vi front panel. when wire my reference in my main vi to one the input node of the sub vi the wire is broken. the error says its a class conflict why?

    Expanding and clarifying what BJD said;
    After you create the temporary sub-VI that BJD mentioned, open its front panel and copy the reference control that LV created when it created the sub-VI.
    This reference control will be correct class etc that you need. Use the control to replace the original control that you were attempting to wire up.
    The technique of "create sub-VI...copy" always works for me.
    There is one more thing that you should watch out for.
    The mechanical action of the boolean can not be set for latch action when attempting to read the value using a value property node.
    Trying to help,
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Error while creating model classes, operation aborted in NWDS

    Hi All,
    When i select Adaptive rfc 2 model  and then search for the RFC,  when i select RFC and click on next i get an error while importing :
    Error while creating model classes, operation aborted.
    It is working fine in visual composer and i have activated function module, RFC but getting same error. It is also working in web service navigator also.
    Can any one help me out??
    Regards,
    Pradeep kumar
    Edited by: pradeep_546 on Feb 17, 2011 9:35 PM
    Edited by: pradeep_546 on Feb 17, 2011 9:36 PM
    Edited by: pradeep_546 on Feb 17, 2011 9:37 PM

    Hai guys thanks for reply
    Tushar,
    I am using NWDS 7.2, ce7.2 server, ECC 6.0.
    Amit,
    I have tested the JCO destinations they are working fine and i created a new pair of JCO destinations but unable to import the Adaptive RFC2 Model gives same error but Adaptive webservices are working fine in my NWDS7.2
    Deepak,
    I am unable to create model in other projects also.
    I have sufficient amount of memory in my drive.
    I have imported the DC to other NWDS but it gives same error.
    Thanks for all,
    Regards,
    Pradeep Kumar G
    Edited by: pradeep_546 on Feb 18, 2011 3:05 PM

  • Syntax error, insert "}" to complete Class body.

    Hello everyone,
    I am trying to create simple Adobe form with WebDynpro for java. Java error in autogenerated class appears "Syntax error, insert "}" to complete Class body". As I see, java class really corrupted - there are no "}" at the class end.
    Really appreciate any help.
    Kirill

    It dissappeared.

  • JAVAMAP-Sax Parser ...............Linkage error when loading the class.

    Dear all,
    Do we have any extra things to execute the Java mapping using the Sax Parser?
    When I am executing the interface mapping ,I am getting the" Linkage error when loading the class" error.
    Kindly let me know your personnel maildId so that I can mail you the screen shots.
    Thanks,
    Srinivasa

    Dear sunil,
    Find the File.
    Source:
    <MTO_FTP_MAT_DETAILS>
    <MATDETAILS>
    <MAKTX>
    <MATNR>
    <WERKS>
    <LABST>
    <MEINS>
    <PERCNT>
    TARGET
    MTI_FTP_MAT_DETAILS
    <MATDETAILS>
    <MAKTX>
    <MATNR>
    <WERKS>
    <LABST>
    <MEINS>
    <PERCNT>
    Source:
    <MTO_FTP_MAT_DETAILS>
    <MATDETAILS>
    <MAKTX>
    <MATNR>
    <WERKS>
    <LABST>
    <MEINS>
    <PERCNT>
    TARGET
    MTI_FTP_MAT_DETAILS
    <MATDETAILS>
    <MAKTX>
    <MATNR>
    <WERKS>
    <LABST>
    <MEINS>
    <PERCNT>
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.util.Map;
    import javax.xml.parsers.SAXParser;
    import javax.xml.parsers.SAXParserFactory;
    import org.xml.sax.Attributes;
    import org.xml.sax.SAXException;
    import org.xml.sax.helpers.DefaultHandler;
    import com.sap.aii.mapping.api.StreamTransformation;
    class Echo {
    public static OutputStream out;
    public class myEcho extends DefaultHandler implements StreamTransformation {
    private Map map;
    public void setParameter(Map param) {
    map = param;
    public void execute(InputStream in, OutputStream out) {
    DefaultHandler handler = this;
    SAXParserFactory factory = SAXParserFactory.newInstance();
    try {
    SAXParser saxParser = factory.newSAXParser();
    Echo.out = out;
    saxParser.parse(in, handler);
    } catch (Throwable t) {
    t.printStackTrace();
    public void startDocument() throws SAXException {
    try {
    Echo.out.write("<?xml version='1.0' encoding='UTF-8'?>".getBytes());
    } catch (IOException e) {
    e.notify();
    public void endDocument() throws SAXException {
    try {
    Echo.out.flush();
    } catch (IOException e) {
    throw new SAXException("I/O error", e);
    public void startElement(String namespaceURI, String sName, // simple name
    String qName, // qualified name
    Attributes attrs) throws SAXException {
    String eName = sName; // element name
    if ("".equals(eName))
    eName = qName; // not namespace-aware
    if ("ns0:MTO_SAP_MAT_DETAILS".equals(qName)) {
    try {
    Echo.out.write(("<MTI_FTP_MAT_DETAILS>").getBytes());
    } catch (Exception e) {
    e.printStackTrace();
    } else {
    try {
    Echo.out.write(("<" + qName + ">").getBytes());
    } catch (Exception e) {
    e.printStackTrace();
    public void endElement(String namespaceURI, String sName, // simple name
    String qName // qualified name
    ) throws SAXException {
    String eName = sName; // element name
    if ("".equals(eName))
    eName = qName; // not namespace-aware
    if ("ns0:MTO_SAP_MAT_DETAILS".equals(qName)) {
    try {
    Echo.out.write(("</MTI_FTP_MAT_DETAILS>").getBytes());
    } catch (Exception e) {
    e.printStackTrace();
    } else {
    try {
    Echo.out.write(("</" + qName + ">").getBytes());
    } catch (Exception e) {
    e.printStackTrace();
    public void characters(char buf[], int offset, int len)
    throws SAXException {
    String s = new String(buf, offset, len);
    try {
    Echo.out.write(s.getBytes());
    } catch (Exception e) {
    e.printStackTrace();

  • File does not Upload !   Error in the listener class com.sap.ip.portal...

    Hello.
    Recently, I Add a New Server Node on Java Central Instance.
    And Java Program Upload on Portal, then following error occured.
    Error in the listener class com.sap.ip.portal.admin.portalanywhere.QueryHandler during the process of
    handleTopic
    Original server node can upload successfully.
    But, An error happens in New Additional node.
    Please tell me way to resolve the error.
    Regards.
    Edited by: Masashi Fujita on Dec 24, 2008 5:29 AM
    Edited by: Masashi Fujita on Dec 25, 2008 7:20 AM

    Hi Masashi Fujita,
    Check this Link for Uploading and Downloading files using Web Dynpro Java.
    [Uploading and Downloading Files in Web Dynpro Java|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00062266-3aa9-2910-d485-f1088c3a4d71]
    [Upload Files Using Web Service in Web Dynpro Java Application|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0d9336b-b4cf-2910-bdbf-b00d89bd2929]
    [Uploading and Downloading Files in Web Dynpro Tables|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0e10426-77ca-2910-7eb5-d7d8982cb83f]
    Thanks & Regards,
    Sharma Kvbk.

Maybe you are looking for

  • Radeon driver doesn't detect outputs

    Hello, I have had my laptop, a Dell Inspiron 15R SE, for about a year now. In the beginning I tried to set up the fglrx drivers, but I never really got them to work reliably and I didn't like the fact that many packages had to be kept a couple of ver

  • FPGA Internal software error

    Hi, I'm using labview 2009. When I compile the fpga target vi, i got the following message: " An internal software error has occurred. Please contact National Instruments technical support at ni.com/support with the following information:#,910x,907x,

  • Some browser links not working - any browser, but just on my mac

    I have a strange issue. Over the last while certain page links on browser pages (which seem to be Java script links) won't work in any of my 5 browsers. If I put the same page in to any of my laptop's or my wife's browsers, the links work fine. For e

  • Calendar does not display correct recurrent event

    Using Mac OS 10.8.3 with an Exchange 2010 server. Some recurrent calendar entries are displayed 24-hours too early in Calendar. The entries are displayed correctly on my Iphone, Outlook Web App and Outlook 2012. Any idea how to fix this?

  • Problem in designing chess board

    I designed chess board before by making for loop for rows and anthor one for columns. But here i did inner for loop : one for row ant the other for column but only column appear and row not appear ... My try: import java.awt.BorderLayout; import java