- This topic has 1 reply, 2 voices, and was last updated 13 years, 9 months ago by support-swapna.
-
AuthorPosts
-
duerrtMemberHi,
I’m having issues with a maven based project where I cannot set the webroot folder.
The project is a standard war based project that is deployed to tomcat.
I can get to the “web” tab under Myeclipse and set a “web-root folder” . However , the deployments to tomcat fails
and if I go back to this same screen, the web-root folder is empty.I’m seeing a EARProject cast error in .log. I’ve posted the full trace and install summary at the end of this email.
Also, if I view the “myeclipse” option from project properties – I see Web as an installed capability but I cant remove web capabilities from the project. So i cant
re-add web capabilities either.Also, I have have no .mymetadata file in the project home folder – I do have a .settings dir and there is file called org.eclipse.wst.common.component that has
dirs specified but not a web-root dir.Can I somehow fix my project so I can deploy ?
thanks,
tom!ENTRY com.genuitec.eclipse.ast.deploy.core 1 0 2011-02-28 07:18:29.564
!MESSAGE Error:
!STACK 0
java.lang.ClassCastException: com.genuitec.eclipse.j2eedt.core.internal.project.E cannot be cast to com.genuitec.eclipse.j2eedt.core.EARProject
at com.genuitec.eclipse.ast.deploy.core.ui.action.UpdateManifestsActionDelegate.selectionChanged(Unknown Source)
at org.eclipse.ui.internal.PluginAction.refreshEnablement(PluginAction.java:206)
at org.eclipse.ui.internal.PluginAction.selectionChanged(PluginAction.java:277)
at org.eclipse.ui.internal.ObjectActionContributor$1.run(ObjectActionContributor.java:157)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.ObjectActionContributor.contributeObjectActions(ObjectActionContributor.java:160)
at org.eclipse.ui.internal.ObjectActionContributorManager.contributeObjectActions(ObjectActionContributorManager.java:97)
at org.eclipse.ui.internal.PopupMenuExtender.addObjectActions(PopupMenuExtender.java:262)
at org.eclipse.ui.internal.PopupMenuExtender.menuAboutToShow(PopupMenuExtender.java:339)
at org.eclipse.jface.action.MenuManager.fireAboutToShow(MenuManager.java:338)
at org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java:469)
at org.eclipse.jface.action.MenuManager.access$1(MenuManager.java:465)
at org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager.java:491)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:235)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1176)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1200)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1181)
at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:199)
at org.eclipse.swt.widgets.Display.runPopups(Display.java:3519)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3109)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
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:559)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
at org.eclipse.equinox.launcher.Main.main(Main.java:1287)*** Date:
Monday, February 28, 2011 7:24:55 AM EST** System properties:
OS=Linux
OS version=2.6.32
Java version=1.6.0_13*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 8.6
Build id: 8.6-20100723*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 8.6
Build id: 8.6-20100723Eclipse startup command=-os
linux
-ws
gtk
-arch
x86_64
-showsplash
-launcher
/home/duerrt/Genuitec/MyEclipse-8.6/myeclipse
-name
Myeclipse
–launcher.library
/home/duerrt/Genuitec/MyEclipse-8.6//../Common/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.0.200.v20090519/eclipse_1206.so
-startup
/home/duerrt/Genuitec/MyEclipse-8.6//../Common/plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
-exitdata
4b001a
-clean
-install
/home/duerrt/Genuitec/MyEclipse-8.6
-configuration
/home/duerrt/Genuitec/MyEclipse-8.6/configuration
-clean
-vm
/home/duerrt/Genuitec/Common/binary/com.sun.java.jdk.linux.x86_64_1.6.0.013/bin/java
support-swapnaModeratorduerrt,
I will file a PR with the dev team to investigate further on this issue.
Sorry for the inconvenience caused. -
AuthorPosts