'Build stopped' when NWDS generate import statement in Component Controller

Hi,
    I add method in Component Controller the code work fine if the code not require to import class. When the code need to import the class, and NWDS automatically import for them. The error occur like below while the code is complied.
Build stopped due to an error: Compile failed; see the compiler error output for details.      [Error: com.sap.tc.buildplugin.DefaultPlugin  Thread[Worker-44,5,main]]
  I have to delete all import statements in import block like below.
//@@begin imports
import com.sap.demo.employee_exc__wd.wd.comp.employeecomp.wdp.IPrivateEmployeeComp;
//@@end
Conclusion :  The code will not be compiled if they have import statement that NWDS automatically generate.
P.S i use NWDS7.2
Please help me solve this issue.
Many Thanks

Hi John Wu,
    First of all thank for your reply.  I investigate the root cause and found that i can not import the class from another project (EJB project (Local Home or Local Object)). So i can only import JAVA lib, if i put import statement to import home interface from another EJB project, the code can not be build. What i do is
- Add EJB project in the project build path.
- Add EJB project in Project Reference.
Is thay all?
What task do i need to do more?
There are 2 error show while compling the code.
The 1st one :
Compile failed; see the compiler error output for details.[EXCEPTION]
C:\Users\Thongie\SAP_Workspace\workspace2.jdi\LocalDevelopment\t2\E362EEAA7C591A06D61B111A42AAAE70\default\logs\build.xml:236: Compile failed; see the compiler error output for details.
at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:933)
at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at com.sap.tc.buildplugin.techdev.ant.util.AntRunner.run(AntRunner.java:114)
at com.sap.tc.buildplugin.DefaultAntBuildAction.execute(DefaultAntBuildAction.java:57)
at com.sap.tc.buildplugin.DefaultPlugin.handleBuildStepSequence(DefaultPlugin.java:195)
at com.sap.tc.buildplugin.DefaultPlugin.performBuild(DefaultPlugin.java:167)
at com.sap.tc.buildplugin.DefaultPluginV3Delegate$BuildRequestHandler.handle(DefaultPluginV3Delegate.java:66)
at com.sap.tc.buildplugin.DefaultPluginV3Delegate.requestV3(DefaultPluginV3Delegate.java:48)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sap.tc.buildtool.v2.impl.PluginHandler2.maybeInvoke(PluginHandler2.java:403)
at com.sap.tc.buildtool.v2.impl.PluginHandler2.request(PluginHandler2.java:149)
at com.sap.tc.buildtool.v2.impl.PluginHandler2.build(PluginHandler2.java:87)
at com.sap.tc.buildtool.PluginHandler2Wrapper.execute(PluginHandler2Wrapper.java:59)
at com.sap.tc.devconf.internal.DCProxyMake.make(DCProxyMake.java:318)
at com.sap.tc.devconf.internal.DCProxy.make(DCProxy.java:1432)
at com.sap.tc.devconf.internal.DCProxy.make(DCProxy.java:3875)
at com.sap.ide.dii05.lib.internal.commands.dc.BuildJob.build(BuildJob.java:370)
at com.sap.ide.dii05.lib.internal.commands.dc.BuildJob.doInWorkerThread(BuildJob.java:181)
at com.sap.ide.dii05.util.api.job.JdiJob$1.doInWorkerThread(JdiJob.java:77)
at com.sap.ide.dii05.util.internal.job.InternalJdiJob$3$1.run(InternalJdiJob.java:199)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1782)
at com.sap.ide.dii05.util.internal.job.InternalJdiJob$3.run(InternalJdiJob.java:208)
at com.sap.ide.dii05.util.internal.job.BusyBackgroundIndicator.showWhile(BusyBackgroundIndicator.java:74)
at com.sap.ide.dii05.util.internal.job.InternalJdiJob.internalRun(InternalJdiJob.java:189)
at com.sap.ide.dii05.util.internal.job.InternalDiiJob.runInternal(InternalDiiJob.java:306)
at com.sap.ide.dii05.util.internal.job.InternalDiiJob.runL(InternalDiiJob.java:208)
at com.sap.ide.dii05.util.internal.job.InternalDiiJob.run(InternalDiiJob.java:195)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
[Error: com.sap.tc.buildplugin.DefaultPlugin  Thread[Worker-7,5,main]]
Thw 2nd one :
Build stopped due to an error: Compile failed; see the compiler error output for details.      [Error: com.sap.tc.buildplugin.DefaultPlugin  Thread[Worker-7,5,main]]
Edited by: Thongie on Jul 17, 2011 7:41 AM

Similar Messages

  • Is it possible to generate receivable statement for a party in the hierarch

    Our TCA data model is setup like this:
    For a party "A" we have two created two subsidary party "A1" and "A2". Both A1 and A2 are related to A with a relationship in TCA. Each A1 and A2 are linked to seperate accounts and both A1 and A2 have seperate but same bill-to and ship-to address. So A1 and A2 are not really two seperate logical entity or operating unit of party A.
    My question is: When we generate the statement is it possible it for party A so that it rollsup both A1 and A2?
    Any help is appreciated.
    Thanks,
    Achal

    Hi Neha,
    These forums have information on both, seq.no and and timestamp
    [Timestamp|Dynamic Filename with TimeStamp;
    [Seq.no|Complex Scenario on file sequencing;
    Hope it helps..
    Regards,
    Lavita

  • Generate "Drop-Statements" for DB-Objects

    Hi,
    is it possible to generate drop statements for the different DB-Objects?
    Most of the time when I generate DDL - Statements for Tables and Sequences I need a drop statement for this object to recreate.
    And is it possible to supress the schema-name?
    CREATE TABLE "SCHEMA"."TABLE"
    Regards, Juergen
    Message was edited by:
    Juergen.Schuster
    Message was edited by:
    Juergen.Schuster

    I apologize. I had interpreted the first posting in the thread differently than you. I had read "Most of the time when I generate DDL - Statements for Tables and Sequences I need a drop statement for this object to recreate" to mean that when the user generates the DDL for a table or sequence include a DROP statement prior to the CREATE statement. If these were automatically generated and the user accidentally ran the script, they may lose data in the table or the value of the sequence. That is why I was suggesting that the DROP statement generation be configurable when DDL for a table is generated.
    My mistake,
    Mike

  • Stop Video when moving to another "state"?

    Hello,
    I am not sure if this is a Flash Builder topic or a Flash Catalyst topic or I am guessing it is both.
    I  have a Catalyst that contains multiple flv clips. I am discovering that  when you play a video and then you decide to navigate to another  "state" or "location" in my case, that the video pauses. If you then  return to that state the video will start back up where it was paused.
    I am trying to figure out how to tell the program to stop all or any flv when moving to another state.
    Any help here would be great.
    Thank you.

     

  • It generates an error when trying to import a version apex 4.0 production.

    It generates an error when trying to import a version 4 application to production. The copy was made as an apex 4 EA 2, (I have backups of different times in July). The error:
    ORA-20001: GET_BLOCK Error. ORA-20001: Execution of the statement was unsuccessful. ORA-06550: line 4, column 1: PLS-00306: wrong number or types of arguments in call to 'CREATE_PAGE_ITEM' ORA-06550: line 4, column 1: PL/SQL: Statement ignored <pre>declare h varchar2(32767) := null; begin wwv_flow_api.create_page_item( p_id=>298101103038895115 + wwv_flow_api.g_id_offset, p_flow_id=> wwv_flow.g_flow_id, p_flow_step_id=> 45, p_name=>'P45_PRODUCTBACKLOG'

    This is the response that sends the team apex.
    Production is very different than our EA versions. On our EA site, we explicitly stated that an export from there may not work against 4.0. From your error, it looks as if the create_page_item procedure changed between EA2 and production. The only recommendation is to take an export from production and compare the statements used for create_page_item. If you can update your EA export to match the new format, you might be able to import but again, that action is unsupported.
    -- APEX Support Team

  • [svn] 3120: When you point Flex Builder at a local sandbox trunk build, it couldn' t generate the html-templates folder correctly for new projects so we moved all the html templates up one level and removed the html-templates directory and adjusted build

    Revision: 3120
    Author: [email protected]
    Date: 2008-09-05 10:44:10 -0700 (Fri, 05 Sep 2008)
    Log Message:
    When you point Flex Builder at a local sandbox trunk build, it couldn't generate the html-templates folder correctly for new projects so we moved all the html templates up one level and removed the html-templates directory and adjusted build.xml's to accommodate the directory change
    Modified Paths:
    flex/sdk/trunk/build.xml
    flex/sdk/trunk/webapps/webtier/build.xml
    Added Paths:
    flex/sdk/trunk/templates/client-side-detection/
    flex/sdk/trunk/templates/client-side-detection/AC_OETags.js
    flex/sdk/trunk/templates/client-side-detection/index.template.html
    flex/sdk/trunk/templates/client-side-detection-with-history/
    flex/sdk/trunk/templates/client-side-detection-with-history/AC_OETags.js
    flex/sdk/trunk/templates/client-side-detection-with-history/history/
    flex/sdk/trunk/templates/client-side-detection-with-history/history/history.css
    flex/sdk/trunk/templates/client-side-detection-with-history/history/history.js
    flex/sdk/trunk/templates/client-side-detection-with-history/history/historyFrame.html
    flex/sdk/trunk/templates/client-side-detection-with-history/index.template.html
    flex/sdk/trunk/templates/express-installation/
    flex/sdk/trunk/templates/express-installation/AC_OETags.js
    flex/sdk/trunk/templates/express-installation/index.template.html
    flex/sdk/trunk/templates/express-installation/playerProductInstall.swf
    flex/sdk/trunk/templates/express-installation-with-history/
    flex/sdk/trunk/templates/express-installation-with-history/AC_OETags.js
    flex/sdk/trunk/templates/express-installation-with-history/history/
    flex/sdk/trunk/templates/express-installation-with-history/history/history.css
    flex/sdk/trunk/templates/express-installation-with-history/history/history.js
    flex/sdk/trunk/templates/express-installation-with-history/history/historyFrame.html
    flex/sdk/trunk/templates/express-installation-with-history/index.template.html
    flex/sdk/trunk/templates/express-installation-with-history/playerProductInstall.swf
    flex/sdk/trunk/templates/metadata/
    flex/sdk/trunk/templates/metadata/AC_OETags.js
    flex/sdk/trunk/templates/metadata/readme.txt
    flex/sdk/trunk/templates/no-player-detection/
    flex/sdk/trunk/templates/no-player-detection/AC_OETags.js
    flex/sdk/trunk/templates/no-player-detection/index.template.html
    flex/sdk/trunk/templates/no-player-detection-with-history/
    flex/sdk/trunk/templates/no-player-detection-with-history/AC_OETags.js
    flex/sdk/trunk/templates/no-player-detection-with-history/history/
    flex/sdk/trunk/templates/no-player-detection-with-history/history/history.css
    flex/sdk/trunk/templates/no-player-detection-with-history/history/history.js
    flex/sdk/trunk/templates/no-player-detection-with-history/history/historyFrame.html
    flex/sdk/trunk/templates/no-player-detection-with-history/index.template.html
    Removed Paths:
    flex/sdk/trunk/templates/html-templates/

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

  • Lightroom 5.7.1 stops responding when trying to import photos from iPhone.

    As the title says, when trying to import the photos from my phone which I've done with Lightroom for a couple years now, the program stops responding entirely. This happens with both mine and my wife's phones. We did leave hers plugged in over night and it eventually started responding again and I was able to import her photos. But I can account for at least 5 hours during which it was not responding first. I'm not sure what changed over night that finally let it work again.
    Any ideas? Thanks!

    You're sure you want to stop using iphoto? Then I would try it this way instead:
    Export each event in your iphoto library separately, put the photos where you want to keep them and use "from files and folders". If there's an event that the organizer chokes on, then you'll have to go into that one photo by photo to see where the problem lies. (You are aware that using "from iphoto" is duplicating your entire iphoto library, so you don't want to do that AND keep using iphoto, right?)

  • Whenever I try to upload photos into iPhoto, they load but when importing it just stops a picyure or two into it and then just sits there. I can't stop the import so I have to shut off my camera when it is importing and start again. Help?

    Whenever I try to upload photos into iPhoto, they load but when importing it just stops a picture or two into it and then just sits there. I can't stop the import so I have to shut off my camera when it is importing and start again. Does anyone know how to fix this?

    As a test  launch iPhoto with the Option key held down and create a new, test library.  Tru importing from your camera to it and to see if the same problem persists. Does it?
    OT

  • Why does OWB generate merge statement when target type = Update

    Hi there
    getting problem message cannot generate merge. I don't undretand why even trying to ctreate a merge when should be an update and then sql would be fine.
    trying to update a table whose expiry date = '31-DEC-4000' (via raget filter for update
    and also put value from src into this field.
    This would be ok in sql
    update table
    set col = new_value
    where col = 31-dec-4000'
    Any thoughts - it seems strange why OWB generate a merge when set target type to Update since other target types of Update/Insert and Insert/Update available to generate merge.
    Many Thanks

    I understand what you are trying to say...
    One simple workaround for this is: In the mapping, add one more column in the target table eg: match_val. Set the bound name to match column eg: col.
    Set the one match_val attribute properties to "match column when updating" & actual column eg: col attribute properties to "Load column when updating".
    This will generate merge statement for your requirements. This will help u.

  • When is necessary to use import statements to import classes?

    Hi,
    I'm sure that it must be necessary to use import statements
    in some situations, I'm finding that my code often works fine
    without them. For example, some instructions will say it is
    necessary to use import.flash.events.MouseEvent; before
    MouseEvent.CLICK will work, or that I must import the loader class
    before loading an SWF, but I'm finding that I can skip timporting
    and it works fine. Could anyone please explain why this it, and
    give me some idea of how to knew when to import and when I don't
    have to?
    Thank you in advance!

    Importing is only necessary when you create you own classes
    or are using a class that Flash doesn't auto import such as the
    fscommand package. Any time you create your own custom
    package/class, it is also necessary to use import statements unless
    you add the folder containing your custom packages to the default
    class path.

  • Progess stops when importing tracks from audio CD

    what is the best thing to do when progress simply stops at a certain track (say in the middle of an album) when I am importing an audio CD into iTunes? i realize that the CD could be scratched, but do I force stop, or is there a way to simply skip that particular track?

    hey, i just asked this same question again. maybe we can both get an answer! or if you got an answer off line, perhaps you could send it to me. as i type, track 12 of 13 is not importing.

  • How can I stop iTunes in Windows 7 from coming to front when I am importing by inserting a CD?

    I've set iTunes (latest version as of this message) to "Import CD and eject" because I'm batch importing my CD collection.
    There's a delay of several seconds between when I insert a CD (after the last one was ejected) and when iTunes begins importing the songs from the new CD. Sometimes, for reasons I don't understand, iTunes pops to the front to show the import is working. This is annoying (esp. when batch importing and trying to do work inbetween CD swaps).
    Sometimes iTunes stays in the background and quietly imports, requesting to come to the front politely by blinking in the task bar. But sometimes it just pops up, while I'm typing an email (and my keystrokes seem to cancel the import). Anyone know how to keep iTunes polite? Maybe this is a Windows 7 bug?

    My apologies...the version is 11.1.4.62 not as stated aboive in my problem description.  I'm trying again and it just finished syncing fine and my iPhone 5 is still connected to iTuns physcially with USB lightening cable and is displaying the iPhone icon top right.  I clicked on it and iTunes is now "hung' or  locked up.  Shows to be an active running application but can't get back to it so willl have to kill with task manager.  There is some kind of problem going on with the latest version of iTunes and Wndows 7 and 8.1 or something.  My iPhone 5 now has a new feature that it is now asking me if I "Trust" this computer.  iTunes just came "unhung" after several minutes while I was typing this. Now I am going to start the backup to this computer HP Winsows 8.1 and iTune 11.1.4.62 and see what happens.  Says it is Backing up Jerrys iPhone but the Barber Pole progress bar is not turning an iTunes is hung again and I cant get back to it from this page I am typing on.  Maybe it will eventually release as it did a moment ago. 

  • Flash builder 4 beta 2 import statement disapper

    I create my own button component under package component. Then I use this component inside a view BookingView under view package.
    I need to import BookingComponent by entering
    import component.BookingButton;
    But every time I change this view, this import statement disapper and I need to re-type it.

    Known bug http://bugs.adobe.com/jira/browse/FB-23179.
    Jason San Jose
    Quality Engineer, Flash Builder

  • Error in NWDS WAR import. taglib.

    Hi Experts,
    my requirement is to customize the login page for CE 7.1.
    I have taken the WAR file, Imported it into NWDS.
    I imported the jar file logon.jar also. But immediately after the import,
    but im facing an error which say:
    "Cannot find the tag library descriptor for /SapLogon".
    Can anyone pls help me in solving this issue.
    Pls provide answer in detail.
    Any help would be greatful..!.
    Thanks,
    Shikha

    Hello Neeraj,
    Now as I mentioned earlier, when I go to com.sap.aii.security package in the jar com.sap.aii.sec.svc_api.jar there is no 'lib' folder. Also there is no security.class in any of the subfolders in com.sap.aii.security .
    - In PI7.1 security.class is in folder ext, check whether you can find the folder ext.
    - Your SampleAdapter has already implementation code in it, as you mentioned in the source there are import statements, so the point to focus is to make your source error free, after compile.
    - In case you have the sap.comtcsecssfcore.jar added to your build path, try to reimport the two classes, still if it show error try to close and open your module project.
    Regards,
    Prasanna

  • Sample Adapter - Error in NWDS for import stmt of class PermissionMode

    Hello,
    I downloaded the latest code of Sample Adapter from the SAPNote 1004000.
    I am trying to build the code in SAP NWDS. I am getting an error for the import statements -
    import com.sap.aii.security.lib.KeyStoreManager;
    import com.sap.aii.security.lib.PermissionMode;
    I looked into the jar for the package com.sap.security. There is no 'lib' folder inside this. These two class are also not in any of the folders and subfolders in this package.
    Now for the KeyStoreManager Class, I found a jar sap.comtcjekeystore_apiAPI.jar which contain a class by the name of KeystoreManager in the package com.sap.engine.interfaces.keystore.
    1. Is this KeystoreManager the same class file as KeyStoreManager?
    2. In which jar can I find the class PermissionMode ?
    Best Regards,
    Neeraj
    Edited by: Neeraj Kumar on Aug 20, 2009 10:44 AM

    Hello Neeraj,
    Now as I mentioned earlier, when I go to com.sap.aii.security package in the jar com.sap.aii.sec.svc_api.jar there is no 'lib' folder. Also there is no security.class in any of the subfolders in com.sap.aii.security .
    - In PI7.1 security.class is in folder ext, check whether you can find the folder ext.
    - Your SampleAdapter has already implementation code in it, as you mentioned in the source there are import statements, so the point to focus is to make your source error free, after compile.
    - In case you have the sap.comtcsecssfcore.jar added to your build path, try to reimport the two classes, still if it show error try to close and open your module project.
    Regards,
    Prasanna

Maybe you are looking for