You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Troubleshooting Eclipse

Finding errors in Eclipse error log view

If any errors is reported by Eclipse, you can see details about the error in Error Log view of Eclipse. When errors occur, only Eclipse Galileo will place this view in front of other views. In Eclipse Europa or Ganymede, you have to take these steps to find this view:

  1. Click Window, and then Show View-> Other.
  2. Expand General and click Error Log.
  3. Click OK. The Error Log view displays.

Troubleshooting Java EE asset deployment

Coexistence of <sec:security> and <dep:gbean> results in error in application deployment plan on Eclipse 3.5

If you use both <sec:security> and <dep:gbean> elements in this deployment plan geronimo-application.xml for your EAR, Eclipse 3.5 reports an error. This is because the XML editor in Eclipse 3.5 cannot recognize multiple aliases in the naming space. However, this application can be deployed on the server successfully even though Eclipse 3.5 reports an error in the plan. See Eclipse bug for more information about this problem.
To prevent Eclipse from reporting this type of errors, follow these steps:

  1. Click Window->Preferences.
  2. Expand XML and then XML Files.
  3. Select Validation. Deselect Honour all XML schema locations.
  4. Click Apply.
  5. Close the deployment plan and reopen it. Eclipse won't report this type of errors again.
  • No labels