Problem using eclipse

Hi,
I am trying to use Eclipse but I encountered some problems. I drag and drop an application of mine, into a Java project in Eclipse, I try to run and I get :
Usage: javaw [-options] class [args...]
           (to execute a class)
   or  javaw [-options] -jar jarfile [args...]
           (to execute a jar file)
where options include:
    -client       to select the "client" VM
    -server       to select the "server" VM
    -hotspot       is a synonym for the "client" VM  [deprecated]
.Whats that about?

I think it would be better to build a new project in Eclipse with the same name as your old project, and with the same java class names as your old project (with no content) in a similiar package structure (this is especially easy if the project is small). Then copy/paste the contents of the java classes into the ones in Eclipse. Then add the jar files to the lib folder that are missing (then add them to the project via the menu buy right clicking on the project icon, going to properties, etc).
Drag/dropping a project into eclipse will probably not configure the missing jar files, etc that Eclpise needs. Note if your project is a tomcat project, then in eclpise, create a tomcat project and configure its settings such as where the tomcat server is located and what version of java jdk your using for the project.
However, if you have an already existing Eclipse project you only need to 'import' the project via the Eclpise menu.

Similar Messages

  • Tomcat Startup problems using eclipse

    Hello together!
    I want to create a JSP page in eclipse.
    I use eclipse-wtp-1.0 and tomcat 5.5.12.
    I have set the JAVA_HOME, TOMCAT_HOME and CATALINA HOME.
    I included this 2 directories in eclipse.
    But now I get the following error:
    23.02.2006 08:37:31 org.apache.catalina.startup.Catalina load
    WARNUNG: Can't load server.xml
    23.02.2006 08:37:31 org.apache.catalina.startup.Catalina load
    WARNUNG: Can't load server.xml
    23.02.2006 08:37:31 org.apache.catalina.startup.Catalina start
    INFO: Server startup in 0 ms
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
    Caused by: java.lang.NullPointerException
         at org.apache.catalina.startup.Catalina.await(Catalina.java:600)
         at org.apache.catalina.startup.Catalina.start(Catalina.java:560)
         ... 6 more
    Could anybody pls help me.
    Thanks a lot.

    The first posting was refering to a java project.
    Now I tried to make a dynamic web project.
    There i have the mistake:
    First a pop up appears and says: Could not fid the main class. Programm will exit.
    and then:
    java.lang.NoClassDefFoundError: org/apache/catalina/startup/Bootstrap
    Exception in thread "main"
    Does anybody know how I create a project (JSP/JSF), so that I can start the page with for example tomcat.
    If one of you has a toturial where there are exactly the versions written, as I did everything refering to an toturial.
    Pls give advice, how to get it started.
    Thanks in advance.

  • Using Eclipse instead of XCode/Visual C++ ?

    Hello everybody,
    I am pretty sure this question has already been asked, but I can't get any answer.
    Why does Adobe recommend (and distribute samples) based on XCode and Visual C++? Why is there no documentation/projects based on Eclipse ? I can't see any problems using Eclipse, excepted Xcode/Visual C++ based sample projects and docs.
    I have been working for monthes on Eclipse and I can only see advantages using it :
    Cross-platform : no need to have Windows and OSX projects.
    More functionalities : What about functionality such as call hierarchy, classes navigator, automatic suggestions... ?
    Better integration : CPPUnit, Maven... What a wonderful world out of reach !
    Has anyone among you ever tried to use Eclipse for InDesign plugin development ? What were the problems ? Why Adobe does not event mention the possibility to develop with Eclipse ? Is it really difficult to migrate to Eclipse projects ?
    I'd like to read your feedbacks
    Thanks in advance.
    Regards

    Hello,
    Yes, you can use still use the plugin.
    Refer "http://www.oracle.com/technology/products/enterprise-pack-for-eclipse/index.html".
    thanks

  • Problems with Eclipse-Plugin when using JPA in JavaFX

    Hi all,
    I am trying to develop a small JavaFX application with JPA using Eclipse and the FX-Plugin.
    Since I cannot use Annotations in FX code I created Java entity classes that are shadowed by the corresponding FX entities. To associate the Java and FX entites with each other I added a new member to the FX entity of the type of the Java entity. Suprisingly I now get errors that the FX entity cannot resolve the javax.perisistence classes. Those classes are imported in the Java entites without any errors. All entities are in the same package, so I really suspect it's the plugin's fault.
    Has anyone experience with this problem?
    Thanks,
    Chris

    There's something wrong with your code. You need to analyse it.

  • Problem Exporting .Jar Using Eclipse

    I have a small problem of exporting using Eclipse 3.2
    First , i could , debug , run as application with no problem.
    however after i compiled into jar , and i tried opening the jar file
    theres no responses. what could possibly be the problem ?
    my manifest file includes the main class of program and all external .jar files.
    below is my main class
    -automatic batch printing
    -able to select target folder for batch printing
    -able to select interval for printing
    -able to stop printing
    -includes log of activity of threads and printing services
    -free for all to use =D
    import java.awt.BorderLayout;
    import java.awt.Color;
    import java.awt.Desktop;
    import java.awt.Graphics;
    import javax.swing.JFileChooser;
    import javax.swing.JPanel;
    import javax.swing.JFrame;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.print.*;
    import java.io.*;
    import java.util.*;
    import java.util.Timer;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import javax.swing.*;
    import javax.swing.filechooser.*;
    import javax.swing.filechooser.FileFilter;
    import javax.print.*;
    import java.lang.Object;
    import java.awt.JobAttributes.*;
    import javax.swing.text.*;
    import javax.swing.text.html.HTMLDocument;
    import javax.swing.text.rtf.*;
    import java.awt.Dimension;
    import javax.swing.JEditorPane;
    import java.awt.Rectangle;
    import javax.swing.JOptionPane;
    import javax.swing.JScrollPane;
    import javax.swing.JButton;
    import javax.swing.JTextPane;
    import javax.swing.JTextArea;
    import javax.swing.JTextField;
    import javax.swing.JCheckBox;
    import javax.swing.JLabel;
    import javax.swing.SwingUtilities;
    import java.awt.Font;
    public class Test extends JFrame implements Printable{
         private static final long serialVersionUID = 1L;
         private JPanel jContentPane = null;  //  @jve:decl-index=0:visual-constraint="36,9"
         private JButton Open = null;
          Date date;
           class MyFilter extends javax.swing.filechooser.FileFilter {
                 public boolean accept(File file) {
                     String filename = file.getName();
                             if(file.isDirectory()){
                          return true;
                     }else{
                          return filename.endsWith(".rtf");
                 public String getDescription() {
                     return "Rich Text Format ( .rtf ) ";
         public Test() {
              super();
              initialize();
         public static void main(String[] args) {
              SwingUtilities.invokeLater(new Runnable() {
                   public void run() {
                        Test application = new Test();
                        application.show();
                        application.setLocationRelativeTo(null);
                        application.setVisible(true);
                        application.getJContentPane().setVisible(true);
         private void initialize() {     
              this.setSize(408, 282);
              this.setResizable(false);
              this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              this.setContentPane(getJContentPane());
              this.setTitle("Auto Print Utility");
              this.setVisible(true);
          * This method initializes jContentPane
          * @return javax.swing.JPanel
         private JPanel getJContentPane() {
              if (jContentPane == null) {
                   jLabel1 = new JLabel();
                   jLabel1.setBounds(new Rectangle(131, 102, 59, 16));
                   jLabel1.setFont(new Font("Apple Chancery", Font.PLAIN, 10));
                   jLabel1.setText("MilliSeconds");
                   jLabel = new JLabel();
                   jLabel.setBounds(new Rectangle(16, 103, 53, 16));
                   jLabel.setText("Interval :");
                   jContentPane = new JPanel();
                   jContentPane.setLayout(null);
                   jContentPane.add(getOpen(), null);
                   jContentPane.add(getStop(), null);
                   jContentPane.add(getJTextField(), null);
                   jContentPane.add(getJScrollPane(), null);
                   jContentPane.add(getJScrollPane1(), null);
                   jContentPane.add(getJTextField1(), null);
                   jContentPane.add(jLabel, null);
                   jContentPane.add(jLabel1, null);
                   jContentPane.add(getJButton(), null);
              return jContentPane;
         static void printPrinterJob() {               
                    PrinterJob printerjob = PrinterJob.getPrinterJob();
                    // set the characteristics of
                    // the job to be printed - use setPageable and book if
                    // outputing a document. Use setPrintable for "simple" printing - all pages formatted the same
                    printerjob.setPrintable(new Test());
                    try {
                      PrintService[] ser =PrinterJob.lookupPrintServices();
                         ReadRegistry rr = new ReadRegistry();
                     int x =ser.length;
                      //  String def = rr.getPrinter();
                     String def ="Microsoft Office Document Image Writer";
                     for(int y=0;y<x;y++){
                         if(ser[y].getName().equals(def)){
                             printerjob.setPrintService(ser[y]);
                             System.out.println(ser[y]+" SET");
                         }else
                     System.out.println(ser[y]);
                    } catch (PrinterException exception) {
                       System.err.println("Printing error: " + exception);
       public static void disableDoubleBuffering(Component c) {
                  RepaintManager currentManager = RepaintManager.currentManager(c);
                  currentManager.setDoubleBufferingEnabled(false);
      public static void enableDoubleBuffering(Component c) {
                  RepaintManager currentManager = RepaintManager.currentManager(c);
                  currentManager.setDoubleBufferingEnabled(true);
      public boolean printfolder(){
              Desktop de = Desktop.getDesktop();
              java.io.File folder = new File(jTextField.getText());
              File[] listOfFiles = folder.listFiles();
               for (int i = 0; i < listOfFiles.length; i++) {
                    if (listOfFiles.isFile()) {
                        try {
                                  de.print(listOfFiles[i].getAbsoluteFile());
                                  File fi = new File(jTextField.getText()+"\\Deleted");
                                  fi.mkdir();
                                  Thread.currentThread().sleep(1000);
                                  listOfFiles[i].renameTo(new File("Z:\\BTSS Log\\Fax\\Y2007 M10 D25\\Deleted",listOfFiles[i].getName().toString()));
                             } catch (Exception e1) {
                                  // TODO Auto-generated catch block
                                  e1.printStackTrace();
              System.out.println("File: " + listOfFiles[i].getName());
              date = new Date();
              PrintLog.append("Printed : "+listOfFiles[i].getName()+" "+date.toString()+"\n");
              } else if (listOfFiles[i].isDirectory()) {
                   date=new Date();
              System.out.println("Directory: " + listOfFiles[i].getName()+" "+date.toString());
              PrintLog.append("No Files Printed "+date.toString()+"\n");
              return true;
         private JButton Stop = null;
         Thread tt = new Thread(){
              public void run(){
                   while(true){
                   int count = 0; // @jve:decl-index=0:
                   printfolder();
                   try {
                        Long lon = new Long(jTextField1.getText());
                        System.out.println(lon);
              tt.sleep(lon);
              } catch (InterruptedException e) {}
              count++;
              if (count >= 10000) break;
         private JTextField jTextField = null;
         private JScrollPane jScrollPane = null;
         private JScrollPane jScrollPane1 = null;
         private JTextField jTextField1 = null;
         private JLabel jLabel = null;
         private JLabel jLabel1 = null;
         private JTextArea PrintLog = null;
         private JTextArea ThreadLog = null;
         private JButton jButton = null;
         public void run(){
                   while(true){
                   int count = 0;
                   printfolder();
                   try {
              // Thread.sleep (300000);//
                        Long lon = new Long(jTextField1.getText());
                        System.out.println(lon);
              Thread.currentThread().sleep(lon);
              } catch (InterruptedException e) {}
              count++;
              if (count >= 10000) break;
         private JButton getOpen() {
              if (Open == null) {
                   Open = new JButton();
                   Open.setBounds(new Rectangle(11, 38, 187, 29));
                   Open.setText("Start");
                   Open.addActionListener(new java.awt.event.ActionListener() {
                        public void actionPerformed(java.awt.event.ActionEvent e) {
                             try{
                                  if(jTextField1.getText().equals("")){
                                       JOptionPane.showMessageDialog(null,"MilliSeconds Required, Please Enter A Valid Number Into The TextBox", "MilliSeconds Required", JOptionPane.ERROR_MESSAGE);
                                  }else if(jTextField.getText().equals("")){
                                       JOptionPane.showMessageDialog(null,"Please Specify Directory To Be Print From By Clicking On The TextBox", "Directory Missing", JOptionPane.ERROR_MESSAGE);
                                  }else{
                                       Long.parseLong(jTextField1.getText());
                                       try {     
                                                 if(tt.isAlive()) {
                                                           tt.resume();
                                                           date=new Date();
                                                           ThreadLog.append("Activity Resumes "+date.toString()+"\n");
                                                 } else {
                                                                tt.start();                    
                                                                date=new Date();
                                                                ThreadLog.append("Activity Started "+date.toString()+"\n");
                                                      } catch (Exception f) {
                                                           JOptionPane.showMessageDialog(null, f.getMessage(), "Error Occured", JOptionPane.ERROR_MESSAGE);
                             }catch(Exception f){
                                  JOptionPane.showMessageDialog(null, f.getMessage(), "Long Format Exception", JOptionPane.ERROR_MESSAGE);
              return Open;
         * This method initializes Stop     
         * @return javax.swing.JButton     
         private JButton getStop() {
              if (Stop == null) {
                   Stop = new JButton();
                   Stop.setBounds(new Rectangle(197, 38, 195, 29));
                   Stop.setText("Stop");
                   Stop.addActionListener(new java.awt.event.ActionListener() {
                        public void actionPerformed(java.awt.event.ActionEvent e) {
              try{
         tt.suspend();
         date = new Date();
         ThreadLog.append("Activity Suspend "+date.toString()+" \n");
              }catch(Exception g){
                   JOptionPane.showMessageDialog(null, g.getMessage(), "Error Occured", JOptionPane.ERROR_MESSAGE);
              return Stop;
         public int print(Graphics arg0, PageFormat arg1, int arg2) throws PrinterException {
              // TODO Auto-generated method stub
              return 0;
         * This method initializes jTextField     
         * @return javax.swing.JTextField     
         */JFileChooser jfc = new JFileChooser();
         private JTextField getJTextField() {
              if (jTextField == null) {
                   jTextField = new JTextField();
                   ReadRegistry rr = new ReadRegistry();
                   String dpath = rr.getDirecotry();
                   File file = new File(dpath);
                   jfc.setCurrentDirectory(file);
                   jTextField.setText(dpath);
                   jTextField.setBounds(new Rectangle(11, 14, 383, 20));
                   jTextField.setEditable(false);
                   jTextField.addMouseListener(new java.awt.event.MouseAdapter() {
                        public void mouseClicked(java.awt.event.MouseEvent e) {
                             jfc.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
                             jfc.showOpenDialog(jContentPane);
                             File file = jfc.getSelectedFile();
                             String path = file.getAbsolutePath();
                             jTextField.setText(path);
              return jTextField;
         * This method initializes jScrollPane     
         * @return javax.swing.JScrollPane     
         private JScrollPane getJScrollPane() {
              if (jScrollPane == null) {
                   jScrollPane = new JScrollPane();
                   jScrollPane.setBounds(new Rectangle(197, 70, 193, 55));
                   jScrollPane.setViewportView(getThreadLog());
              return jScrollPane;
         * This method initializes jScrollPane1     
         * @return javax.swing.JScrollPane     
         private JScrollPane getJScrollPane1() {
              if (jScrollPane1 == null) {
                   jScrollPane1 = new JScrollPane();
                   jScrollPane1.setBounds(new Rectangle(14, 132, 375, 108));
                   jScrollPane1.setViewportView(getPrintLog());
              return jScrollPane1;
         * This method initializes jTextField1     
         * @return javax.swing.JTextField     
         private JTextField getJTextField1() {
              if (jTextField1 == null) {
                   jTextField1 = new JTextField();
                   jTextField1.setBounds(new Rectangle(70, 101, 62, 20));
              return jTextField1;
         * This method initializes PrintLog     
         * @return javax.swing.JTextArea     
         private JTextArea getPrintLog() {
              if (PrintLog == null) {
                   PrintLog = new JTextArea();
                   PrintLog.setEditable(false);
                   PrintLog.setFont(new Font("Arial", Font.PLAIN, 12));
              return PrintLog;
         * This method initializes ThreadLog     
         * @return javax.swing.JTextArea     
         private JTextArea getThreadLog() {
              if (ThreadLog == null) {
                   ThreadLog = new JTextArea();
                   ThreadLog.setEditable(false);
                   ThreadLog.setFont(new Font("Taffy", Font.PLAIN, 10));
              return ThreadLog;
         * This method initializes jButton     
         * @return javax.swing.JButton     
         private JButton getJButton() {
              if (jButton == null) {
                   jButton = new JButton();
                   jButton.setBounds(new Rectangle(12, 70, 185, 25));
                   jButton.setText("Reset");
                   jButton.addActionListener(new java.awt.event.ActionListener() {
                        public void actionPerformed(java.awt.event.ActionEvent e) {
                             Test nt = new Test();
                             nt.show();
                             hide();
              return jButton;
    } // @jve:decl-index=0:visual-constraint="-9,-14"
    i can compile into jar successfully but the jar file wouldn't respond.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  

    first , it says unable to access jar file .
    upon deeper inspection i found that background processes is created behind thus the jar file been activated but the UI doesnt show up? any more idea of where my codes gone wrong? which seems perfect for me
    anyway thanks but i still .. it says unable to access jar file

  • Problem exiting eclipse 3.7 while using FB4.6 Plugin

    I've tried many different versions of eclipse and I've come down to the realization that it is FB4.6.
    Everytime I exit eclipse a pop up saying there are errors look in the metadata/.log file.
    It appears as if FB4.6 is missing some of the plugins that it is trying to use. Any solutions?
    Here is the .log File:
    This is using eclipse 3.6. Every other version that I tested throws a similar if not identical .log file.
    I've tried reinstalling everything, and starting in a clean work environment.
    !SESSION 2012-02-13 20:03:21.468 -----------------------------------------------
    eclipse.buildId=I20100608-0911
    java.version=1.6.0_14
    java.vendor=BEA Systems, Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments:  -os win32 -ws win32 -arch x86
    !ENTRY org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE One or more bundles are not resolved because the following root constraints are not resolved:
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle reference:file:../Adobe/Adobe Flash Builder 4.6/eclipse/plugins/org.eclipse.core.runtime.compatibility.registry.nl1_3.7.0.v2011071604 3402.jar was not resolved.
    !SUBENTRY 2 org.eclipse.core.runtime.compatibility.registry.nl1_3.7.0.v20110716043402 2 0 2012-02-13 20:04:16.210
    !MESSAGE Missing host org.eclipse.core.runtime.compatibility.registry_[0.0.0,9.0.0).
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle reference:file:../Adobe/Adobe Flash Builder 4.6/eclipse/plugins/org.eclipse.equinox.security.win32.x86.nl1_3.7.0.v20110716043402.jar was not resolved.
    !SUBENTRY 2 org.eclipse.equinox.security.win32.x86.nl1_3.7.0.v20110716043402 2 0 2012-02-13 20:04:16.210
    !MESSAGE Missing host org.eclipse.equinox.security.win32.x86_[0.0.0,9.0.0).
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle reference:file:../Adobe/Adobe Flash Builder 4.6/eclipse/plugins/org.eclipse.ui.workbench.compatibility.nl1_3.7.0.v20110716043402.jar was not resolved.
    !SUBENTRY 2 org.eclipse.ui.workbench.compatibility.nl1_3.7.0.v20110716043402 2 0 2012-02-13 20:04:16.210
    !MESSAGE Missing host org.eclipse.ui.workbench.compatibility_[0.0.0,9.0.0).
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle reference:file:../Adobe/Adobe Flash Builder 4.6/eclipse/plugins/org.eclipse.swt.win32.win32.x86.nl1_3.7.0.v20110716043402.jar was not resolved.
    !SUBENTRY 2 org.eclipse.swt.win32.win32.x86.nl1_3.7.0.v20110716043402 2 0 2012-02-13 20:04:16.210
    !MESSAGE Missing host org.eclipse.swt.win32.win32.x86_[0.0.0,9.0.0).
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle reference:file:../Adobe/Adobe Flash Builder 4.6/eclipse/plugins/org.eclipse.ui.win32.nl1_3.7.0.v20110716043402.jar was not resolved.
    !SUBENTRY 2 org.eclipse.ui.win32.nl1_3.7.0.v20110716043402 2 0 2012-02-13 20:04:16.210
    !MESSAGE Missing host org.eclipse.ui.win32_[0.0.0,9.0.0).
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle reference:file:../Adobe/Adobe Flash Builder 4.6/eclipse/plugins/org.eclipse.core.net.win32.x86.nl1_3.7.0.v20110716043402.jar was not resolved.
    !SUBENTRY 2 org.eclipse.core.net.win32.x86.nl1_3.7.0.v20110716043402 2 0 2012-02-13 20:04:16.210
    !MESSAGE Missing host org.eclipse.core.net.win32.x86_[0.0.0,9.0.0).
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle reference:file:../Adobe/Adobe Flash Builder 4.6/eclipse/plugins/org.eclipse.equinox.launcher.win32.win32.x86.nl1_3.7.0.v2011071604340 2.jar was not resolved.
    !SUBENTRY 2 org.eclipse.equinox.launcher.win32.win32.x86.nl1_3.7.0.v20110716043402 2 0 2012-02-13 20:04:16.210
    !MESSAGE Missing host org.eclipse.equinox.launcher.win32.win32.x86_[0.0.0,9.0.0).
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle reference:file:../Adobe/Adobe Flash Builder 4.6/eclipse/plugins/org.eclipse.jdt.compiler.apt.nl1_3.7.0.v20110716043402.jar was not resolved.
    !SUBENTRY 2 org.eclipse.jdt.compiler.apt.nl1_3.7.0.v20110716043402 2 0 2012-02-13 20:04:16.210
    !MESSAGE Missing host org.eclipse.jdt.compiler.apt_[0.0.0,9.0.0).
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle reference:file:../Adobe/Adobe Flash Builder 4.6/eclipse/plugins/org.eclipse.core.filesystem.win32.x86.nl1_3.7.0.v20110716043402.jar was not resolved.
    !SUBENTRY 2 org.eclipse.core.filesystem.win32.x86.nl1_3.7.0.v20110716043402 2 0 2012-02-13 20:04:16.210
    !MESSAGE Missing host org.eclipse.core.filesystem.win32.x86_[0.0.0,9.0.0).
    !ENTRY org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle org.eclipse.core.runtime.compatibility.registry_3.3.0.v20100520 [40] was not resolved.
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle org.eclipse.ecf.provider.filetransfer.httpclient.ssl_1.0.0.v20100529-0735 [50] was not resolved.
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle org.eclipse.ecf.provider.filetransfer.ssl_1.0.0.v20100529-0735 [51] was not resolved.
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle org.eclipse.ecf.ssl_1.0.0.v20100529-0735 [52] was not resolved.
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle org.eclipse.ui.workbench.compatibility_3.2.100.I20100511-0800 [181] was not resolved.
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle org.eclipse.core.filesystem.win32.x86.nl1_3.7.0.v20110716043402_3.7.0.v20110716043402 [382] was not resolved.
    !SUBENTRY 2 org.eclipse.core.filesystem.win32.x86.nl1_3.7.0.v20110716043402 2 0 2012-02-13 20:04:16.210
    !MESSAGE Missing host org.eclipse.core.filesystem.win32.x86_[0.0.0,9.0.0).
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle org.eclipse.core.net.win32.x86.nl1_3.7.0.v20110716043402_3.7.0.v20110716043402 [385] was not resolved.
    !SUBENTRY 2 org.eclipse.core.net.win32.x86.nl1_3.7.0.v20110716043402 2 0 2012-02-13 20:04:16.210
    !MESSAGE Missing host org.eclipse.core.net.win32.x86_[0.0.0,9.0.0).
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle org.eclipse.core.runtime.compatibility.registry.nl1_3.7.0.v20110716043402_3.7.0.v20110716 043402 [390] was not resolved.
    !SUBENTRY 2 org.eclipse.core.runtime.compatibility.registry.nl1_3.7.0.v20110716043402 2 0 2012-02-13 20:04:16.210
    !MESSAGE Missing host org.eclipse.core.runtime.compatibility.registry_[0.0.0,9.0.0).
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle org.eclipse.equinox.launcher.win32.win32.x86.nl1_3.7.0.v20110716043402_3.7.0.v20110716043 402 [427] was not resolved.
    !SUBENTRY 2 org.eclipse.equinox.launcher.win32.win32.x86.nl1_3.7.0.v20110716043402 2 0 2012-02-13 20:04:16.210
    !MESSAGE Missing host org.eclipse.equinox.launcher.win32.win32.x86_[0.0.0,9.0.0).
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle org.eclipse.equinox.security.win32.x86.nl1_3.7.0.v20110716043402_3.7.0.v20110716043402 [461] was not resolved.
    !SUBENTRY 2 org.eclipse.equinox.security.win32.x86.nl1_3.7.0.v20110716043402 2 0 2012-02-13 20:04:16.210
    !MESSAGE Missing host org.eclipse.equinox.security.win32.x86_[0.0.0,9.0.0).
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle org.eclipse.jdt.compiler.apt.nl1_3.7.0.v20110716043402_3.7.0.v20110716043402 [472] was not resolved.
    !SUBENTRY 2 org.eclipse.jdt.compiler.apt.nl1_3.7.0.v20110716043402 2 0 2012-02-13 20:04:16.210
    !MESSAGE Missing host org.eclipse.jdt.compiler.apt_[0.0.0,9.0.0).
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle org.eclipse.swt.win32.win32.x86.nl1_3.7.0.v20110716043402_3.7.0.v20110716043402 [574] was not resolved.
    !SUBENTRY 2 org.eclipse.swt.win32.win32.x86.nl1_3.7.0.v20110716043402 2 0 2012-02-13 20:04:16.210
    !MESSAGE Missing host org.eclipse.swt.win32.win32.x86_[0.0.0,9.0.0).
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle org.eclipse.ui.win32.nl1_3.7.0.v20110716043402_3.7.0.v20110716043402 [601] was not resolved.
    !SUBENTRY 2 org.eclipse.ui.win32.nl1_3.7.0.v20110716043402 2 0 2012-02-13 20:04:16.210
    !MESSAGE Missing host org.eclipse.ui.win32_[0.0.0,9.0.0).
    !SUBENTRY 1 org.eclipse.osgi 2 0 2012-02-13 20:04:16.210
    !MESSAGE Bundle org.eclipse.ui.workbench.compatibility.nl1_3.7.0.v20110716043402_3.7.0.v20110716043402 [603] was not resolved.
    !SUBENTRY 2 org.eclipse.ui.workbench.compatibility.nl1_3.7.0.v20110716043402 2 0 2012-02-13 20:04:16.210
    !MESSAGE Missing host org.eclipse.ui.workbench.compatibility_[0.0.0,9.0.0).
    !ENTRY org.eclipse.osgi 4 0 2012-02-13 20:04:16.210
    !MESSAGE Application error
    !STACK 1
    org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
              at org.eclipse.swt.SWT.error(SWT.java:4083)
              at org.eclipse.swt.SWT.error(SWT.java:3998)
              at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:137)
              at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
              at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
              at org.eclipse.swt.widgets.Display.release(Display.java:3713)
              at org.eclipse.swt.graphics.Device.dispose(Device.java:295)
              at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:131)
              at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
              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 org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
              at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574)
              at org.eclipse.equinox.launcher.Main.run(Main.java:1407)
              at org.eclipse.equinox.launcher.Main.main(Main.java:1383)
    Caused by: java.lang.NullPointerException
              at com.adobe.flexbuilder.ui.UIPlugin$3.run(UIPlugin.java:186)
              at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
              at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
              at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041)
              at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660)
              at org.eclipse.swt.widgets.Display.release(Display.java:3713)
              at org.eclipse.swt.graphics.Device.dispose(Device.java:296)
              at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:131)
              at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
              at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
              at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
              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 org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619)
              at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
              at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
              ... 1 more

    So... it reappeared with some new information. Any Ideas?

  • Create jar file using eclipse including the addition of a dll

    hy ..
         i have developed an application using eclipse.Having problems exporting the file as an executable jar.Even after providing the main class name in the manifest file, the jar file is giving the following error on a double click - "Could not find main class.Program will exit" .
         i have used an external jar file for displaying a tray icon on the system tray.This inturns uses a dll file which i have on my classpath.How do i get these into the jar and get it running..
    thanx in advance

    hy ..
    i have developed an application using eclipse.Having
    g problems exporting the file as an executable
    jar.Even after providing the main class name in the
    manifest file, the jar file is giving the following
    error on a double click - "Could not find main
    class.Program will exit" .Guessing, you don't specify the package part of the classname.
    i have used an external jar file for displaying a
    a tray icon on the system tray.This inturns uses a
    dll file which i have on my classpath.How do i get
    these into the jar and get it running..You can't run a dll from inside of a jar.
    If you're trying to use the JDIC tray classes, I don't believe they will run from a jar, but you might find otherwise. See https://jdic.dev.java.net/
    >
    thanx in advance

  • Problem using c:forEach

    I'm having a problem using c:forEach. Eclipse is telling me the problem is with the items parameter, and for the life of me, I cannot see why, since I could swear forEach uses an items parameter. Here is my code and the exception report. Can anyone please help? Thanks.
    <table>
         <c:forEach var="user" items="${users}">
              <tr>
                   <td>${user.name}</td>
                   <c:forEach var="education" items="${education}">
                        <td>${education.school}</td>
                        <td>${education.major}</td>
                        <td>${education.degree}</td>
                        <td>${education.gpa}</td>
                   </c:forEach>
                   <c:forEach var="employment" items="${employment}">
                        <td>${employment.employer}</td>
                        <td>${employment.jobtitle}</td>
                        <td>${employment.startdate}</td>
                        <td>${employment.enddate}</td>
                   </c:forEach>
              </tr>
         </c:forEach>
    </table>
    org.apache.jasper.JasperException: /RecruiterResumeResults.jsp(46,1) According to TLD or attribute directive in tag file, attribute items does not accept any expressions
         org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
         org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
         org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:148)
         org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Validator.java:1174)
         org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:821)
         org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1530)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361)
         org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2411)
         org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2417)
         org.apache.jasper.compiler.Node$Root.accept(Node.java:495)
         org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2361)
         org.apache.jasper.compiler.Validator.validateExDirectives(Validator.java:1736)
         org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:183)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:332)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:312)
         org.apache.jasper.compiler.Compiler.compile(Compiler.java:299)
         org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)
         org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
         org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
         org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:389)

    In web.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app id="WebApp_ID" version="2.4"
         xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">At the top of my JSP:
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
         pageEncoding="ISO-8859-1"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <%@ taglib prefix="s" uri="/struts-tags"%>
    <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>

  • Problem using Toplink with JUnit

    Hi,
    I have a problem using Toplink with JUnit. Method under test is very simple: it use a static EntityManager object to open a transaction and persists data to db. When I invoke the method from a test method, it gives me the exception:
    java.lang.AssertionError
         at oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.computePURootURL(PersistenceUnitProcessor.java:248)
         at oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.findPersistenceArchives(PersistenceUnitProcessor.java:232)
         at oracle.toplink.essentials.ejb.cmp3.persistence.PersistenceUnitProcessor.findPersistenceArchives(PersistenceUnitProcessor.java:216)
         at oracle.toplink.essentials.internal.ejb.cmp3.JavaSECMPInitializer.initialize(JavaSECMPInitializer.java:239)
         at oracle.toplink.essentials.internal.ejb.cmp3.JavaSECMPInitializer.initializeFromMain(JavaSECMPInitializer.java:278)
         at oracle.toplink.essentials.internal.ejb.cmp3.JavaSECMPInitializer.getJavaSECMPInitializer(JavaSECMPInitializer.java:81)
         at oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.createEntityManagerFactory(EntityManagerFactoryProvider.java:119)
         at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:83)
         at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:60)
         at it.valerio.electromanager.model.EntityFacade.<clinit>(EntityFacade.java:12)
         at it.valerio.electromanager.business.ClienteBiz.insertIntoDatabase(ClienteBiz.java:36)
         at it.valerio.electromanager.test.model.ClienteTest.insertDBTest(ClienteTest.java:30)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99)
         at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81)
         at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
         at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
         at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
         at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:66)
         at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
         at org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
         at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
         at org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
         at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)
         at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
    Where is the problem???
    Regards,
    Valerio

    EntityFacade class is very simple and it uses a static EntityManager object. Here the code:
    public class EntityFacade {
         private static EntityManager em = Persistence.createEntityManagerFactory("ElectroManager").createEntityManager();
         private static Logger logger=Logger.getLogger(EntityFacade.class);
         public static void insertCliente(Cliente c)
              logger.debug("Inserisco cliente nel db: " + c);
              em.getTransaction().begin();
              c.setId(getNextIdForTable("Cliente"));
              em.persist(c);
              em.getTransaction().commit();
    If I call the method from inside a main it works well, so I think the problem is not the classpath neither the URL in the persistence.xml. However the URL is:
    <property name="toplink.jdbc.url" value="jdbc:derby:c:/programmi/ElectroManager/db/electroManager"/>
    I use the latest build version of TopLink.
    Thanks.

  • Using Eclipse project definitions to build the Flex SDK

    It would be great if someone from Adobe could post on the recommended usage of the Eclipse project definitions in the development/eclipse/ subdirectory of the 3.0.x trunk distribution. I would like to debug some compiler modifications that I am working on.
    I saw Peter Farland demo this setup at 360Flex, but was unable to capture all the details of the Eclipse configuration that he discussed in his talk.
    thanks!

    If you go to the framework project’s properties, there is a section called Flex Library Compiler, you want to use a specific flex sdk (add a new sdk which points to the trunk, and use that) — you are probably building /against/ the wrong sdk, right code, wrong compiler.
    - Jono
    From: Ben Clinkinbeard <[email protected]>
    Reply-To: <[email protected]>
    Date: Thu, 3 Apr 2008 12:56:01 -0700
    To: <[email protected]>
    Subject: Re: Using Eclipse project definitions to build the Flex SDK
    A new message was posted by Ben Clinkinbeard in
    Developers --
      Using Eclipse project definitions to build the Flex SDK
    Sorry, I'm not following. My SDK project is from the trunk.
    Thanks,
    Ben
    On Thu, Apr 3, 2008 at 3:32 PM, Jono Spiro <[email protected]> wrote:
    A new message was posted by Jono Spiro in
    Developers --
      Using Eclipse project definitions to build the Flex SDK
    Try changing the sdk for the framework lib project to trunk (you'll need to add a new flex sdk, name it whatever you want) -- it's in the project properties. It's using the wrong compiler.
    - Jono
    From: Ben Clinkinbeard <[email protected]>
    Reply-To: <[email protected]>
    Date: Thu, 3 Apr 2008 05:13:43 -0700
    To: <[email protected]>
    Subject: Re: Using Eclipse project definitions to build the Flex SDK
    A new message was posted by Ben Clinkinbeard in
    Developers --
      Using Eclipse project definitions to build the Flex SDK
    I am running FB on top of Eclipse 3.3.2.
    <http://3.3.2.>  <
    <http://3.3.2.>
    http://3.3.2.>  I checked out the whole SDK trunk and can build the main ant task with no errors. I used the instructions mentioned above to create a Flex framework library project and thats where the error comes in. (I had tried to manually build a framework project a few times and it was a nightmare.) I would probably prefer to work on the 3.0.x branch/tag as I hope to submit a patch or two but saw Joe mention that the project defs only existed in the trunk.
    Searching Google for the oem error turns up lots of links about projects that had assets deleted and the build got confused but following the instructions on how to fix proved unsuccessful.
    Thanks,
    Ben
    On Thu, Apr 3, 2008 at 1:45 AM, Jono Spiro <[email protected]> wrote:
    A new message was posted by Jono Spiro in
    Developers --
      Using Eclipse project definitions to build the Flex SDK
    I always forget what that error means when it comes up -- though it's been ages since I've seen it last, literally.
    Joe: Since you mention Java 1.5, I'm guessing the errors are in the asdoc package? Those should be turned off (read: turned into a warning) -- Eclipse is a little too persnickety about that particular error. There's a preference for this in the Java section under warnings and errors. It's turned off in the trunk dev projects. Otherwise, you should be able to run the compiler directly with no problems (okay, one more caveat: there's a class loader issue with the OEM, fixed in trunk if you look for my Java 1.5 checkin).
    Ben: What is your setup? What are you building (Ryan mentions trunk, Joe mentions 30x), which Eclipse, which dev projects, did you build the sdk from the commandline first, etc.?
    Cheers,
    Jono
    View/reply at Using Eclipse project definitions to build the Flex SDK <
    <http://www.adobeforums.com/webx?13@@.59b4a9d4/3>
    http://www.adobeforums.com/webx?13@@.59b4a9d4/3>
    Replies by email are OK.
    Use the unsubscribe <
    <http://www.adobeforums.com/webx?280@@.59b4a9d4%21folder=.3c060fa3>
    http://www.adobeforums.com/webx?280@@.59b4a9d4%21folder=.3c060fa3>  form to cancel your email subscription.
    View/reply at Using Eclipse project definitions to build the Flex SDK <
    <http://www.adobeforums.com/webx?13@@.59b4a9d4/5>
    http://www.adobeforums.com/webx?13@@.59b4a9d4/5>
    Replies by email are OK.
    Use the unsubscribe <
    <http://www.adobeforums.com/webx?280@@.59b4a9d4%21folder=.3c060fa3>
    http://www.adobeforums.com/webx?280@@.59b4a9d4!folder=.3c060fa3
    <http://www.adobeforums.com/webx?280@@.59b4a9d4%21folder=.3c060fa3> >  form to cancel your email subscription.
    View/reply at Using Eclipse project definitions to build the Flex SDK
    <http://www.adobeforums.com/webx?13@@.59b4a9d4/6>
    Replies by email are OK.
    Use the unsubscribe
    <http://www.adobeforums.com/webx?280@@.59b4a9d4%21folder=.3c060fa3>  form to cancel your email subscription.
    View/reply at Using Eclipse project definitions to build the Flex SDK
    <http://www.adobeforums.com/webx?13@@.59b4a9d4/7>
    Replies by email are OK.
    Use the unsubscribe
    <http://www.adobeforums.com/webx?280@@.59b4a9d4!folder=.3c060fa3>  form to cancel your email subscription.

  • Compilation's problems with eclipse

    hello
    in working for my thesis with eclipse I have see that the modify to source code have not effect in runt-time
    In effect I have an file .class, I modify the source file .java, I compile and i go this in run with the Eclipse command <<run>> but the behavior not change.
    I don't lie because i appnd a
    system.out
    to main of a class and in run-time the print is'nt.
    What's appened?
    I not remober about modify about Eclipse's configuration ????
    What do you think??
    thank for every feed-back
    Alessandro Puzielli

    Ehm...
    I use Eclipse over Linux.. I have runned Eclipse as
    "root" a few of day ago and Eclipse's behaviort was
    ok. After I have lanched Eclipse as normal user and
    in effect I try to overwriter the *class of root and
    it's impossible!it's normal 'cause you don't have the permissions on the project files
    I have take a few of day for the understand the
    problem with a
    $ stat name_of_file_.classThanks for the responses!so if your project is a small project, start Eclipse as normal user and rewrite your project ! otherwise, log u as root and give you all the permission on the project and it may work (chmod 777 -R project_path)
    peace
    fred

  • Developing SIP Servlet using Eclipse

    Dear all,
    In the BEA documentation "developing SIP Servlet using Eclipse", it says:
    WebLogic SIP Server 3.0
    JDK 1.4.2
    Ant (installed with WebLogic SIP Server 3.0)
    Eclipse version 3.1
    CVS client and server (required only for version control)
    I want to kown it should be JDK 1.4.2 but not 1.5.0?
    And how to set Ant which installed with Weblogic SIP Server in Eclipse? Because I checked that Eclipse use the Ant by defaut.
    I really have problem with setting up Eclipse for developping SIP Servlet, Thanks for your help!
    li

    Dear all,
    I have resolved it.
    The path is not correct in the ant build file.
    Thanks

  • Jboss Server starting problem with eclipse

    {color:#000080}+i am using eclipse 3.4.2 and jboss.When i start jboss serve the following error is getting!!!!+{color}
    {color:#993300}DEPLOYMENTS IN ERROR:
    Deployment "TransactionManager" is in error due to the following reason(s): **ERROR**, java.lang.ExceptionInInitializerError: java.net.MalformedURLException: unknown protocol: e
    Deployment "jboss.jca:service=WorkManager" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jca:service=WorkManager' **
    Deployment "jboss:service=invoker,type=unified" is in error due to the following reason(s): Configured
    Deployment "<UNKNOWN DefaultUserTransactionprovider>" is in error due to the following reason(s): ** UNRESOLVED Demands 'TransactionManager' **
    Deployment "jboss:service=TransactionManager" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss:service=TransactionManager' **
    Deployment "jboss.jca:service=CachedConnectionManager" is in error due to the following reason(s): ** NOT FOUND Depends on 'jboss.jca:service=CachedConnectionManager' **
    Deployment "jboss.web:service=WebServer" is in error due to the following reason(s): Configured{color}
    Its URGENT
    Thanks in advance_+                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Problems like this don't cease to amaze me.
    We are in the year of 2009 and this problem is most probably caused because jboss is started from a path which contains one or more space.
    Try move your jboss installation or eclipse installation (i am not familiar how jboss in installed inside eclipse) to a folder with no spaces and the problem should go away.
    It is sad that nice software like jboss has stupid bugs like this. Oh and it migh not be jboss but the JVM. It is silly in any case...

  • Great weird problem with eclipse

    Hello,
    I am working on a web project and using eclipse 3.1 as IDE.
    The issue is that sometimes when i generate the corresponding war file , eclipse generates a smaller than usual file (usually it has 1.9 MB, but when it's smaller, it has 1.3 MB), which causes defective behavior of my project.
    Do you have any idea or any solution to this problem?
    I tend to believe it's a bug , but maybe i'm doing something wrong.
    Thank u in advance.
    deea

    OK, I narrowed the problem down to a DNS issue.  If I set the adapter to obtain automatically, these site work fine.  If I set to use specific IP and DNS, these sites fail.  Anyone have any suggestions?

  • Problem with eclipse find/update

    Hi,
    My apology if it's not right place to talk about this.
    I get following error when I use Eclipse 3.1 find/update.
    Network connection problems encountered during search.
    Unable to access "http://update.eclipse.org/updates/3.0".
    Unable to access site: "http://update.eclipse.org/updates/3.0" [java.io.IOException]
    Unable to access site: "http://update.eclipse.org/updates/3.0" [java.io.IOException]
    I had this problem at my work then I thought it could be related to proxy setting. But I am having same problem at home as well. I dont have any proxy setting here..it's just connected via wireless network.
    I have tried using 3.1 update site as well by replacing 3.0 by 3.1 in above URL. It's been two days and I am yet to solve the problem.
    Please save me from this misery. :-(
    Thanks,
    Prabhat

    JCOP tools is not available via an update site anymore. Check out http://forum.java.sun.com/thread.jspa?forumID=23&threadID=722788 . There you will find a download link.
    Hopefully IBM will have the update support soon back. asc seems to be from the JCOP team      
    The download site is no longer active, but a replacement is beeing worked on.
    Meanwhile, please send an email request to
    [email protected]
    which currently handles requests for JCOP Tools

Maybe you are looking for

  • How to get KTOPL for a given BELNR

    Hi all you experts! I am codding a simple report that obtains some data from BSAK including BELNR and SAKNR. I need to show in this report the description of SAKNR. I know that I can get it from table SKAT but in order to do that I need to know SPRAS

  • Have OMD EM5, need Camera Raw and PS Elements that work with this camer

    I've been using PS Elements 9 on a MAC.  Can't use RAW.  Know I need a plug-in.  If I upgrade to PS 12, how do I find out what Camera Raw I need?  What is compatible with this camera (OMD EM5)? 

  • Failed PDF download

    When trying to download or print a document from adobe acrobat.com is says "Unable to download the completed PDF. An unexpected error occurred" [ref: j38ob]

  • Issue on joins and filters

    Hi folks, I have total 20 tables to join in an interface.All are left outer joins on multiple tables.Now when i apply Filter condition with IN or OR it is throwing me an error saying that when ur using outerjoins u cant use the operands IN or OR. 1)w

  • BP Catalog Number in 8.8

    Hi All, I am on SAP 2007B, Pl10. I wanted to use the BP catalog number functionality but supports only up to 20 characters. XCan any one please let me know what is the character limit of this filed in 8.8?? r can we increase the field characters size