Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Error J2EE Perspective
Error J2EE Perspective [message #77114] Fri, 25 February 2005 21:09 Go to next message
Eclipse UserFriend
Originally posted by: ceeneel.gmail.com

Hi,
I am using Integration Build I20050224,

eclipse.buildId=I20050219-1500
java.version=1.5.0_01
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86
Errors:
1) Empty tree node after "Other Projects"
2) Following error occuring when clicked on <project name> under "Dynamic
Web Projects"

!ENTRY org.eclipse.jface 4 2 2005-02-25 16:07:49.133
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.jface".
!STACK 0
java.lang.NoClassDefFoundError:
org/eclipse/wst/wsdl/internal/util/WSDLResourceImpl
at
org.eclipse.jst.j2ee.internal.webservice.helper.WSDLServiceH elperImpl.isWSDLResource(WSDLServiceHelperImpl.java:176)
at
org.eclipse.jst.j2ee.internal.actions.OpenJ2EEResourceAction .isWsdlInstance(OpenJ2EEResourceAction.java:412)
at
org.eclipse.jst.j2ee.internal.actions.OpenJ2EEResourceAction .updateSelection(OpenJ2EEResourceAction.java:349)
at
org.eclipse.ui.actions.BaseSelectionListenerAction.selection Changed(BaseSelectionListenerAction.java:124)
at
org.eclipse.jst.j2ee.navigator.internal.J2EEActionProvider.s etActionContext(J2EEActionProvider.java:80)
at
org.eclipse.wst.common.navigator.views.NavigatorActionServic e.fillActionBars(NavigatorActionService.java:214)
at
org.eclipse.wst.common.navigator.views.CommonNavigatorManage r.selectionChanged(CommonNavigatorManager.java:97)
at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:163)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java:1015)
at org.eclipse.core.runtime.Platform.run(Platform.java:757)
at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer .java:161)

3)I am getting following error messages when opening j2ee Perspective.

!ENTRY org.eclipse.core.runtime 4 2 2005-02-25 15:59:55.632
!MESSAGE Plug-in "org.eclipse.wst.wsdl" was unable to instantiate class
"org.eclipse.wst.wsdl.WSDLPlugin$Implementation".
!STACK 0
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:4 94)
at
org.eclipse.core.internal.plugins.PluginDescriptor.internalD oPluginActivation(PluginDescriptor.java:415)
at
org.eclipse.core.internal.plugins.PluginDescriptor.doPluginA ctivation(PluginDescriptor.java:363)
at
org.eclipse.core.internal.plugins.PluginDescriptor.getPlugin (PluginDescriptor.java:332)
at
org.eclipse.core.internal.compatibility.PluginActivator.star t(PluginActivator.java:28)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleContextImpl.java:995)
at java.security.AccessController.doPrivileged(Native Method)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(BundleContextImpl.java:989)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:970)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:327)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:276)
at
org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLoca lClass(EclipseClassLoader.java:110)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleLoader.java:331)
at ......
Re: Error J2EE Perspective [message #77389 is a reply to message #77114] Sat, 26 February 2005 17:28 Go to previous messageGo to next message
Michael D. Elder is currently offline Michael D. ElderFriend
Messages: 62
Registered: July 2009
Member
Hi Yogesh,

The error looks like one of the dependencies from the Web Services
components. Have you downloaded the Web Services jars from
http://www.eclipse.org/webtools/wst/components/ws/download_i nstructions_for_jars.html ?

Please verify that you have downloaded these extra jars, and if the
problem still exists, then open a defect to track the issue:
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Web%20To ols .

Thanks!

Kind Regards,

Michael D. Elder


"Yogesh" <ceeneel@gmail.com> wrote in message
news:cvo475$nlp$1@www.eclipse.org...
> Hi,
> I am using Integration Build I20050224,
>
> eclipse.buildId=I20050219-1500
> java.version=1.5.0_01
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
> Command-line arguments: -os win32 -ws win32 -arch x86
> Errors:
> 1) Empty tree node after "Other Projects"
> 2) Following error occuring when clicked on <project name> under "Dynamic
> Web Projects"
>
> !ENTRY org.eclipse.jface 4 2 2005-02-25 16:07:49.133
> !MESSAGE Problems occurred when invoking code from plug-in:
> "org.eclipse.jface".
> !STACK 0
> java.lang.NoClassDefFoundError:
> org/eclipse/wst/wsdl/internal/util/WSDLResourceImpl
> at
>
org.eclipse.jst.j2ee.internal.webservice.helper.WSDLServiceH elperImpl.isWSDL
Resource(WSDLServiceHelperImpl.java:176)
> at
>
org.eclipse.jst.j2ee.internal.actions.OpenJ2EEResourceAction .isWsdlInstance(
OpenJ2EEResourceAction.java:412)
> at
>
org.eclipse.jst.j2ee.internal.actions.OpenJ2EEResourceAction .updateSelection
(OpenJ2EEResourceAction.java:349)
> at
>
org.eclipse.ui.actions.BaseSelectionListenerAction.selection Changed(BaseSele
ctionListenerAction.java:124)
> at
>
org.eclipse.jst.j2ee.navigator.internal.J2EEActionProvider.s etActionContext(
J2EEActionProvider.java:80)
> at
>
org.eclipse.wst.common.navigator.views.NavigatorActionServic e.fillActionBars
(NavigatorActionService.java:214)
> at
>
org.eclipse.wst.common.navigator.views.CommonNavigatorManage r.selectionChang
ed(CommonNavigatorManager.java:97)
> at org.eclipse.jface.viewers.Viewer$2.run(Viewer.java:163)
> at
>
org.eclipse.core.internal.runtime.InternalPlatform.run(Inter nalPlatform.java
:1015)
> at org.eclipse.core.runtime.Platform.run(Platform.java:757)
> at org.eclipse.jface.viewers.Viewer.fireSelectionChanged(Viewer .java:161)
>
> 3)I am getting following error messages when opening j2ee Perspective.
>
> !ENTRY org.eclipse.core.runtime 4 2 2005-02-25 15:59:55.632
> !MESSAGE Plug-in "org.eclipse.wst.wsdl" was unable to instantiate class
> "org.eclipse.wst.wsdl.WSDLPlugin$Implementation".
> !STACK 0
> java.lang.reflect.InvocationTargetException
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e Method)
> at
>
sun.reflect.NativeConstructorAccessorImpl.newInstance(Native ConstructorAcces
sorImpl.java:39)
> at
>
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(De legatingConstruc
torAccessorImpl.java:27)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:4 94)
> at
>
org.eclipse.core.internal.plugins.PluginDescriptor.internalD oPluginActivatio
n(PluginDescriptor.java:415)
> at
>
org.eclipse.core.internal.plugins.PluginDescriptor.doPluginA ctivation(Plugin
Descriptor.java:363)
> at
>
org.eclipse.core.internal.plugins.PluginDescriptor.getPlugin (PluginDescripto
r.java:332)
> at
>
org.eclipse.core.internal.compatibility.PluginActivator.star t(PluginActivato
r.java:28)
> at
>
org.eclipse.osgi.framework.internal.core.BundleContextImpl$2 .run(BundleConte
xtImpl.java:995)
> at java.security.AccessController.doPrivileged(Native Method)
> at
>
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tartActivator(Bu
ndleContextImpl.java:989)
> at
>
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleConte
xtImpl.java:970)
> at
>
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.j
ava:327)
> at
>
org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle
..java:276)
> at
>
org.eclipse.core.runtime.adaptor.EclipseClassLoader.findLoca lClass(EclipseCl
assLoader.java:110)
> at
>
org.eclipse.osgi.framework.internal.core.BundleLoader.findLo calClass(BundleL
oader.java:331)
> at ......
>
>
>
Re: Error J2EE Perspective [message #77598 is a reply to message #77389] Sun, 27 February 2005 09:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jmordax.terra.es

Michael D. Elder wrote:

>Hi Yogesh,
>
> The error looks like one of the dependencies from the Web Services
>components. Have you downloaded the Web Services jars from
> http://www.eclipse.org/webtools/wst/components/ws/download_i nstructions_for_jars.html ?
>
> Please verify that you have downloaded these extra jars, and if the
>problem still exists, then open a defect to track the issue:
> https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Web%20To ols .
>
> Thanks!
>
>Kind Regards,
>
>Michael D. Elder
>
I had exactly the same error with Eclipse 3.1 M5a and WTP 1.0 M3 when
opening J2EE perspective. Does this mean that opening J2EE perspective
has a dependency in some webservices jar files?

Thanks in advance,

Chemi.
Re: Error J2EE Perspective [message #77628 is a reply to message #77598] Sun, 27 February 2005 10:25 Go to previous message
Eclipse UserFriend
Originally posted by: jmordax.terra.es

Fixed. To avoid that problem you need wsdl4j.
Download it from:

http://prdownloads.sourceforge.net/wsdl4j/wsdl4j-bin-1.4.zip ?download

and copy its two JAR files into:

<wtpInstallDirectory>/eclipse/plugins/org.eclipse.wst.wsdl_1.0.0/lib/

Hope it helps,

Chemi.
Previous Topic:Configure Eclipse for Tomcat5.0
Next Topic:Deploy Eclipse Project - Java Web Start
Goto Forum:
  


Current Time: Sun Nov 03 12:13:36 GMT 2024

Powered by FUDForum. Page generated in 0.04567 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top