PB with beans binding in a netbeans 6 java project with ant script existing

Hi all,
I am using netbeans 6.01.
I want to use beans binding in a simple swing form created with Matisse designer. If i do beans binding in a Netbeans java project with existing ant script i have the following error :
java.lang.UnsupportedOperationException: No PCPE/PCPMI found for classpath/compile in MasterFileObject@25 .... etc
Beans binding works very well in normal java project ( Java Desktop App for instance ).
How can i make it work in an existing java ant script project ?

You need to add the Beans Binding (beansbinding-1.2.1) that come with NetBeans 6 in your projects class path.

Similar Messages

  • Integration of a Java Project  with SAP using XI 2.0

    Hi,
    I want to integrate one project written in Java with SAP Using XI 2.0 . The data from Java Project will be given in the XML file and the data needs to be posted in SAP .
    Also PO data from SAp should be given in XML , which Java Software will read filter it and Update its database.
    Can anybody practically guide me as to how should I go about implementing it .
    Thanks in Advance.
    Sanjana

    Suryakant & Sanjana :
    Step 1: Create web service using Java (EJBs) and consume this web service in SAP XI.
    Step 2: PO data from SAP
    Step 2.i:
    In XI 2.0 you cannot expose RFC as a web service
    so what you need to do is create a EJB project to call RFC
    using JCO and then expose this EJB project as web service.
    Step 2.ii:
    Consume the web service created in step 2.i into XI.
    Step 2.iii:
    In XI expose then expose this as web service.
    Step 2.iv:
    consume the web service created in step 2.iv using Java Application.
    PKK.

  • WebDynpro for java project - with 2 languages

    Hi,
    I have WD project with 2 languages(xlf translation) :English and Hebrew.
    The project have one Application.
    I want to create Role with 2 iViews : The first one with The application in Hebrew and the second one the application in English,
    the differences between the iviews is in the "Logon Language" iview property, the first one set to Hebrew the Second one to English.
    My problem is that if i navigate to the Hebrew iview ...the English iview is shown in Hebrew to,
    After logoff/login If i navigate to the English iview the Hebrew iview is shown in English to,
    Any suggestions how to use 2 iviews of the same application in a diffrent language ???
    Thanks,F.F

    Hi F.F.,
    if you use the Web Dynpro in the Portal, the application is not change the language if you has start the application on time.
    You must close the portal (all browser sessions) and start the application in the new language.
    If you want to try that without the portal you can load the application direct, means the link you got if you deploy it and select run.
    At the end of the url please add sap-locale=<locale>  sap-locale=EN or sap-locale=HE than you will see the translations.
    That the language switch is not supported in the Portal is bug since 2006.  You must start the login with the new language. Only than it will work.
    regards
    Gunter.

  • Update of JTable after inserting row with beans binding

    I have a little problem. When i create a little app with netbeans which uses the beansbinding with a table it is not possible to get updates of the list into the table.
    i use nearly the same methods as if i create a database application with the wizzard. The only difference i see (so far) is that i don't use the Swing application framework.
    if i try to repaint the table or the ScrollPane, nothing happens. The list is changed but not the table....

    You should be updating the TableModel, not the "list". When you update the model it will notify the table to repaint itself.

  • How to read file in netbeans web project with relative path.

    Hi friends,
    I have created a web project in Netbeans with following stucture.
    Exercise1
    src --> database --> ConnectionManager.java
    cofig --> databaseproperties.xml
    I want to read config\databaseproperties.xml file in src\database\ConnectionManager.java file.
    I have tried to create a file input stream with path = "config" File.separator "databaseproperties.xml".
    I am getting error of File Not Found..
    Anybody has any idea? In Netbeans what is the default context path?
    Edited by: Jaykishan on Jun 29, 2010 11:54 AM

    place the *.jrxml files in your war (e.g. WEB-INF\classes\report.jrxml) and then in your servlet:
    JasperReport report = JasperCompileManager.compileReport("report.jrxml");

  • Help with sequence settings in final cut for project with 2 different frame rates.

    I really need help with this one! I finished editing a wedding video and realized after exporting that it was filmed in two different frame rates. This has happened before but I converted the footage to match and fixed the problem. In this case, the footage is part 30fps and part 60fps. The majority of it was filmed in 30fps. I cannot convert the 60 to 30 without the slow motion effect which I do not need so I have to find a way to burn this to a DVD without it looking messed up! The video was shot with two Canon 7ds if that helps anything. The first sequence I set at 29.97 and exported as a quicktime movie and all the footage filmed in 60 looked perfect and the footage in 30 looked jittery. Then I tried the sequence at 59.97 and it switched. The footage filmed at 30 looked good and the 60 was cropped in. I am so confused! Any advice or suggestions would be greatly appreciated!!

    Thanks for your help Michael! The frame rates are 29.97 1920 x 1080 and 59.94 1280 x 720. I did a control click on the clips in final cut and viewed the item properties/format to find this info. The Canon 7d is a DSLR but we use it for video. As for my workflow, the first thing I do is import the footage onto my computer and then drag the clips into mpeg streamclip. I choose apple prores 422 and uncheck the interlaced box. Once this is done I import the .mov files into final cut. The sequence automatically sets itself to whatever clip I drag in first so it originally set as 29.97. When I finished editing wedding video, I export it to a quicktime movie and choose whatever settings match the sequence, in this case apple prores 422 1920 x 1080 30p. Once that is done I use iDVD to burn the discs.
    I knew something was wrong when I watched the quicktime movie and all the 30fps footage was jittery and most of the cross dissolves looked strange. That's when I figured out the footage was at two different frame rates. What I don't understand is why whatever the sequence is set at in final cut, the clips of the opposite frame rate look right but the clips set at the matching frame rate don't???

  • How to use java integrate with ondemand

    Hi All,
    As i'm new to integration, can anyone help me to use java integrate with ondemand that inserts some records in ondemand and deletes some records from ondemand in secheduled interval basis.?
    Thanks in advance..!
    regards
    sowm

    Greetings,
    hi forum...
    how to use Java WebStart with EJB ? examples ?Well, for starters these are complementing, not 'cooperating', technologies. I presume, since EJB's do not - directly, at least - communicate with a web browser, that you intend for "Java WebStart" to somehow invoke an EJB?? Java WebStart is a technology for running client-side (Java) applications from the web browser - perceptively, the application resides on the server, but technically it, like an applet, is downloaded to the client and run there. Unlike an applet, however, it is not constrained by "sandbox" restrictions and does not have to be re-downloaded each time it is invoked - though the process allows for automagically updating the client-side with new versions of the application. ;) So, with this in mind, to "use Java WebStart with EJB" means little more than deploying an EJB client application with Java WebStart as the distribution channel.
    thanks
    minduRegards,
    Tony "Vee Schade" Cook

  • How to use Java WebStart with EJB ?

    hi forum...
    how to use Java WebStart with EJB ? examples ?
    thanks
    mindu

    Greetings,
    hi forum...
    how to use Java WebStart with EJB ? examples ?Well, for starters these are complementing, not 'cooperating', technologies. I presume, since EJB's do not - directly, at least - communicate with a web browser, that you intend for "Java WebStart" to somehow invoke an EJB?? Java WebStart is a technology for running client-side (Java) applications from the web browser - perceptively, the application resides on the server, but technically it, like an applet, is downloaded to the client and run there. Unlike an applet, however, it is not constrained by "sandbox" restrictions and does not have to be re-downloaded each time it is invoked - though the process allows for automagically updating the client-side with new versions of the application. ;) So, with this in mind, to "use Java WebStart with EJB" means little more than deploying an EJB client application with Java WebStart as the distribution channel.
    thanks
    minduRegards,
    Tony "Vee Schade" Cook

  • Java.media.* does not exist

    Hello friends,
    I am adding a new project in the netbeans5.0 using the
    Java Project with Existing sources.
    Then i add the source file.
    Before doing this i am using the library manager and add the jmf.jar files and also i am setting the CLASSPATH in the home directory.
    Then at last i am giving the build it tells the problem of java.media.* does not exist.
    I don't know what to do further.
    I am also setting the JMFHOME,CLASSPATH,PATH ,LD_LIBRARY_PATH.
    After that also it tells the same problem.
    Kindly tell what to do next for solving this problem
    With Regards,
    deepthi

    Hello friends,
    I found the problem of javax.media.* does not exist.
    You had to add the library path to your projects,
    I here tell how to add the library path for you netbeans 5.5,
    In netbeans 5.5
    In the left panel, it list your projects,
    Steps to add :
    1.Click on the project.
    2.Now it displays the tree list of source packages,library,
    3.Right click on the library ,
    4.click on the Add Jar/projects,
    5.Then enter the jar files [ jmf.jar,sound.jar ,etc ].
    Now you compile and run .
    It works fine for me try for yours.
    If you place the javax directory in you source file remove that directory from the source package.
    With Regards,
    Rohini [ deepthi ]

  • Open Forte for java project in Sun java studio enterprise

    Hi Everyone, I am new to Java development. I have a java application developed in Forte for java 4 and I need to open and compile it in Sun java studio enterprise. Could anybody tell me how to do that? Thank you very much.

    The recent versions of the IDE (starting with NetBeans 4.1 and JSE 8) are based on a more-robust project system that is ant based. Projects from Forte for Java 4, unfortunately, cannot be directly opened in JSE8, NB4.1 and later.
    If you do have access to the original source code, pl. try the following in the latest version of JSE or NetBeans:
    - Create a fresh project in jse using File | New Project. (For a java standalone app, you would choose General | Java Application from the dialog).
    - Add the existing files to the empty project. You can do so by right-clicking on the project, selecting properties and adding the existing source directories under 'Source Packages' in 'Sources' category.
    Or from the new project dialog, you could select 'General | Java Project with existing sources' option.

  • JavaFx2 project with LTI-CIVIL issue

    Hi all,
    Some time ago, i built a video api for my company, using LTI-CIVIL. All worked fine until we updated our main app, and started using JavaFX for some layout components.
    To be able to use those Javafx components we had to change the project in netbeans, from a normal Java to a JavaFx with swing project. All worked well running from the IDE, both the video API and Javafx stuff coexisted peacefully... until..
    well, unitl i decided to run the app using the compiled JAR... The app opens, but when i start the video aquisition from the webcam, the app crashes.
    I narrowed it down, and it crashes when the CaptureStream from LTI-CIVIL is started.. it really does not make any sense..
    I tried the exact same source code from the video api compiled inside a normal java project, and inside a javaFx project. On the normal project all woks fine, inside the javaFx project it crashes.. so im pretty sure its not my fault. And besides, it works well for bot projects running from the IDE..
    Btw: LTI-CIVIL relies heavily on native code..
    Any you have any idea of what might be causing this?
    Thanks in advance for all the help
    Best regards
    Pedro

    Hi all,
    I did some more tests around this, and when i used the source code of civil instead of the compiled JAR, e get an error..
    But its a very strange error which only occurs when running the JAR.. It does not occur when running a normal JAVA project with the exact same code.
    This is the error..
    "Exception in thread "Thread-155" java.lang.IncompatibleClassChangeError: Class com.lti.civil.impl.jni.NativeVideoFormat does not implement the requested interface com.lti.civil.VideoFormat"
    The "NativeVideoFormat" implements the "VideoFormat".. why is it giving this error then? looks like some kind of compile issue..
    I know this not an issue that looks like it has high priority because it affects a third party API.. But since LTI-CIVIL is the only viable cross platform webcam capture API out there, this is really important to be solved.
    Otherwise no one will ever use JavaFX on an app with webcam support.. :(
    if needed i can try to cook a fully working trimmed down project just to trigger the error.
    regards

  • Getting an error in Java Project in SAP NetWeaver Developer Studio

    Hi,
    I am getting this error in my Java Project developed in SAP NetWeaver Developer Studio.
    Exception occurred during launch Reason: Source locator does not exist org.eclipse.jdt.debug.ui.javaSourceLocator
    Is this problem of not defining some External .jar file or problem with Eclipse?
    I am developing Java Project which connects with SAP Master Data Management.
    I am referring to a PDF named "How To identify identical master data records using SAP MDM 5.5
    Java APIu2019s".
    Regards
    Kaushik Banerjee

    This may be because of the metadata(registry) cache when it was written out by a second instance of NWDS.
    So the plug-in appears in the file system but NWDS doesn't see it in the metadata
    Delete the .metadata file from your workspace and then start up NWDS. It might work.
    Regards,
    PG
    Edited by: PG on Dec 16, 2008 3:18 PM

  • Creating a Web Service From an existing Java Project

    Hi folks,
    I'm new to web services and SAP Netweaver so I need to know if I can use my exisiting Java codes (not EJB's though) for creating web services and the WSDL. I've already gotten the codes working and all and just need to make them into web services and deploy them (plus give my WSDL).
    I've noticed in some samples that they used EJB's for creating new web services and I've been trying to find samples/steps on just creating webservices from exisitng java codes. I've been using AXIS but I've been told that creating web services using the Netweaver Developer Studio is rather easy.
    Thanks in advance!

    Hi Amol!
    Thanks for the link
    I was trying it out, but could you see if this was correct:
    I just made one simple java project (with one class file) and using the link you sent me and did just the step for using the web service Creation Wizard. I made it say Test service and got into the Web Services Explorer but it says it couldn't open my wsdl:
    IWAB0379E Unable to open http://localhost:50000/HelloBeanService/HelloBean?wsdl.
    IWAB0135E An unexpected error has occurred.
    WSDLException
    WSDLException: faultCode=OTHER_ERROR: http://localhost:50000/HelloBeanService/HelloBean?wsdl
    Did I miss a step?
    Thanks again!

  • UML modeling by reverse-engineering a JAVA project

    I can't seem to get over a basic hurdle to get started with UML modeling. I open an existing JAVA project. I then start a new project and choose "UML" and "-Platform model by reverse-engineering a JAVA project". Next I give the UML project a name and try to open my existing JAVA project. But the wizard does not show any project!
    Appreciate your help.
    Phil

    UML in JSE8 can reverse engineer all 4 built-in types of Java project defined in IDE. To prove that, I just downloaded apache ant source 1.6.5 from http://ant.apache.org/srcdownload.cgi and successfully reverse engineered it with JSE8.
    If you have a project with existing ant script , it's extremely easy, you absolutely don't need to hand-create a java project from scratch to specify source, library dependency etc. Just follow the wizard "create a Java project with existing ant script" to specify your Java project location, the ant script location, and * don't forget * to specify the source location. Any project without source folder specified is not considered a valid candidate for Reverse Engineer, and you won't see it listed under the project chooser in UML wizard when trying to associate the current UML project with a Java project. Please right click to bring up your source project properties to verify if you have source package folder correctly spelled out.
    It IS a supported feature, do let us know if you still have troubles to RE your project.

  • Compile Project with Maven and Crystal Reports dependencies

    Hi.
    I'd like to build a java project with maven. That project uses Crystal Reports.  I have added all Crystal Reports jar files in the folder lib (from the runtime download) to my maven dependencies. But i get always the following error message.
    The import com.crystaldecisions.ReportViewer cannot be resolved
    in that package is the ReportViewerBean.class an so i get also the following message.
    ReportViewerBean cannot be resolved
    I tried several different ways with no success.
    im looking foreward for your advice.
    thanks.
    Edited by: hansmeier_de on Aug 25, 2010 11:20 AM

    did you list them in the dependencies in your pom file?

Maybe you are looking for