- This topic has 10 replies, 3 voices, and was last updated 19 years, 10 months ago by sanjul.saxena.
-
AuthorPosts
-
sanyozr@hotmail.comMemberthanks for the previous question answered. 🙂
When i use the wizard to map ‘action-mappings’ for form/actions, after fill up the wizard, click finish, it generates action and form packages and relative classes.
but the wizard doesn’t go away when i click finish, and the generated action/form classes has marked errors due to unimported struts package.
i wonder the above described is also bugs or i did something wrong ?Thanks
Riyad KallaMemberCan you please post all the information we request in the [URL=http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-393.html]Posting Guidelines[/URL] thread at the top of this forum? That will give us some context so that we can determine if this is an installation issue, a configuration problem, or a bug. Thanks.
sanjul.saxenaMemberI create a web project but when I try to insert struts capabilities by right clicking on the project struts was grey.
Look in the log file, there is a lot of java.lang.nullpointerexception.Regards
Rinaldo
Riyad KallaMemberI’m going to ask you the same question I asked the original poster… 😉
sanjul.saxenaMemberHere is info some info requested:
eclipse.buildId=I20050219-1500
java.version=1.4.2_04
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_ITApplication server JBOSS 4.0
Operating System Windows XP professional service pack 2There are a lot of exception in the .log file for example
!ENTRY com.ibm.etools.validation.xml 1 1 2005-02-28 20:34:05.771
!MESSAGE SAX Error while validating: file:///C:/progetti/workspace/MediBeta1.0/WebRoot/WEB-INF/c.tld
!STACK 0
java.lang.IncompatibleClassChangeError
at com.genuitec.eclipse.integration.Integrator.xmlValidator_NA(Unknown Source)
at com.ibm.etools.validation.xml.internal.XMLValidator.validate(Unknown Source)
at com.ibm.etools.validation.xml.internal.ui.eclipse.ValidateAction$1.run(Unknown Source)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1702)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1722)
at com.ibm.etools.validation.xml.internal.ui.eclipse.ValidateAction.validate(Unknown Source)
at com.ibm.etools.validation.xml.internal.ui.eclipse.ValidateAction.run(Unknown Source)
at com.ibm.etools.validation.xml.internal.ui.eclipse.Validator.validate(Unknown Source)
at com.ibm.etools.validation.xml.internal.ui.eclipse.Validator.validateIfNeeded(Unknown Source)
at com.ibm.etools.validation.xml.internal.ui.eclipse.Validator.validate(Unknown Source)
at com.ibm.etools.validation.ValidatorLauncher.start(Unknown Source)
at com.ibm.etools.validate.ValidationOperation.launchValidator(Unknown Source)
at com.ibm.etools.validate.ValidationOperation.internalValidate(Unknown Source)
at com.ibm.etools.validate.ValidationOperation.validate(Unknown Source)
at com.ibm.etools.validate.ValidationOperation.run(Unknown Source)
at com.ibm.etools.validate.ValidationBuilder.performFullBuild(Unknown Source)
at com.ibm.etools.validate.ValidationBuilder.performFullBuild(Unknown Source)
at com.ibm.etools.validate.ValidationBuilder.build(Unknown Source)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:581)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1015)
at org.eclipse.core.runtime.Platform.run(Platform.java:757)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:160)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:198)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:227)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1015)
at org.eclipse.core.runtime.Platform.run(Platform.java:757)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:230)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:249)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:278)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:138)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:199)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:67)If you want I can send you the complete file
Regards
Rinaldo
Riyad KallaMember!ENTRY com.ibm.etools.validation.xml 1 1 2005-02-28 20:34:05.771
!MESSAGE SAX Error while validating: file:///C:/progetti/workspace/MediBeta1.0/WebRoot/WEB-INF/c.tld
!STACK 0
java.lang.IncompatibleClassChangeError
at com.genuitec.eclipse.integration.Integrator.xmlValidator_NA(Unknown Source)I don’t think there is a problem with the file or your project, but instead your install of Eclipse and MyEclipse.
FIRST, go to your <JDK dir>\jre\lib\ext directory and see if you have any 3rd party XML parsing libraries in there. You shouldn’t.
SECOND, shut down MyEclipse, go to the shortcut you used to launch MyEclipse and add the -clean argument as outlined here: http://www.myeclipseide.com/FAQ+index-myfaq-yes-id_cat-30.html#343, then restart MyEclipse, now try the action mapping.
IF THAT doesn’t work, go to Eclipse.org and redownload Eclipse 3.0.1 SDK, then come here and redownload MYEclipse 3.8.4, reinstall them to new locations on your computer and run them. Create a new test Struts project and try and add a new action mapping and form and action, see if itworks. If it does, go to File >Switch Workspace and point at your old workspace location, then open up the problomatic project and try it again, did it work?
sanjul.saxenaMemberTrying to uninstall all Myeclipse and eclipse.
Reinstall all and the problem was the same
The log file!SESSION 2005-03-01 22:00:52.396 ———————————————–
eclipse.buildId=I20050219-1500
java.version=1.5.0-beta
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_IT
Command-line arguments: -os win32 -ws win32 -arch x86!ENTRY com.ibm.sse.snippets 4 4 2005-03-01 22:00:52.396
!MESSAGE Could not load user items
!STACK 0
org.xml.sax.SAXParseException: Content is not allowed in prolog.
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at com.ibm.sse.snippets.internal.palette.ModelFactoryForUser.load(Unknown Source)
at com.genuitec.eclipse.snippetinstaller.SnippetInstaller.installLibrary(Unknown Source)
at com.aston.AstonWizardsPlugin.installSnippetLibraries(Unknown Source)
at com.aston.AstonWizardsPlugin.startup(Unknown Source)
at org.eclipse.core.internal.compatibility.PluginActivator.start(PluginActivator.java:31)
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.startActivator(BundleContextImpl.java:989)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:970)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:327)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:276)
at org.eclipse.core.internal.plugins.PluginDescriptor.doPluginActivation(PluginDescriptor.java:353)
at org.eclipse.core.internal.plugins.PluginDescriptor.getPlugin(PluginDescriptor.java:332)
at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.ui.internal.EarlyStartupRunnable.getPluginForCompatibility(EarlyStartupRunnable.java:145)
at org.eclipse.ui.internal.EarlyStartupRunnable.run(EarlyStartupRunnable.java:73)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1015)
at org.eclipse.core.runtime.Platform.run(Platform.java:757)
at org.eclipse.ui.internal.Workbench$16.run(Workbench.java:1512)
at java.lang.Thread.run(Unknown Source)
!ENTRY com.genuitec.eclipse.core 1 1 2005-03-01 22:02:43.255
!MESSAGE Subscription key decode failed. Hash code was not correct so key is being ignored.!ENTRY com.genuitec.eclipse.core 1 1 2005-03-01 22:02:45.859
!MESSAGE Subscription key decode failed. Hash code was not correct so key is being ignored.!ENTRY com.genuitec.eclipse.core 1 1 2005-03-01 22:02:46.530
!MESSAGE Subscription key decode failed. Hash code was not correct so key is being ignored.!ENTRY com.genuitec.eclipse.core 1 1 2005-03-01 22:02:46.850
!MESSAGE Subscription key decode failed. Hash code was not correct so key is being ignored.!ENTRY org.eclipse.jface 4 2 2005-03-01 22:06:33.636
!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.jface”.
!STACK 0
java.lang.IncompatibleClassChangeError
at com.genuitec.eclipse.integration.ContentTypeManagerWTP.getInstance(Unknown Source)
at com.ibm.sse.model.internal.modelhandler.ModelHandlerRegistry.getContentTypeManager(Unknown Source)
at com.ibm.sse.model.internal.modelhandler.ModelHandlerRegistry.getHandlerForContentTypeId(Unknown Source)
at com.ibm.sse.model.ModelManagerImpl.createStructuredDocumentFor(Unknown Source)
at com.ibm.sse.editor.css.preferences.ui.CSSColorPage.setupPicker(Unknown Source)
at com.ibm.sse.editor.preferences.ui.AbstractColorPage.createContentsForPicker(Unknown Source)
at com.ibm.sse.editor.preferences.ui.AbstractColorPage.createContents(Unknown Source)
at com.ibm.sse.editor.css.preferences.ui.CSSColorPage.createContents(Unknown Source)
at org.eclipse.jface.preference.PreferencePage.createControl(PreferencePage.java:425)
at org.eclipse.jface.preference.PreferencePage.createControl(PreferencePage.java:390)
at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.createPageControl(WorkbenchPreferenceDialog.java:451)
at org.eclipse.jface.preference.PreferenceDialog$13.run(PreferenceDialog.java:1132)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1015)
at org.eclipse.core.runtime.Platform.run(Platform.java:757)
at org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1126)
at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.showPage(WorkbenchPreferenceDialog.java:682)
at org.eclipse.jface.preference.PreferenceDialog$9.selectionChanged(PreferenceDialog.java:628)
at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:681)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1015)
at org.eclipse.core.runtime.Platform.run(Platform.java:757)
at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:679)
at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:950)
at org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer.java:970)
at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:231)
at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:226)
at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:392)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:118)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2885)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2544)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:718)
at org.eclipse.jface.window.Window.open(Window.java:696)
at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:66)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:1003)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:557)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:507)
at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:421)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:842)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2908)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2541)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1612)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1578)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:293)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:144)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:102)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:228)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:333)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:150)
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.eclipse.core.launcher.Main.invokeFramework(Main.java:268)
at org.eclipse.core.launcher.Main.basicRun(Main.java:260)
at org.eclipse.core.launcher.Main.run(Main.java:887)
at org.eclipse.core.launcher.Main.main(Main.java:871)!ENTRY org.eclipse.core.resources 4 2 2005-03-01 22:13:30.856
!MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.core.resources”.
!STACK 0
java.lang.LinkageError: loader constraints violated when linking org/xml/sax/EntityResolver class
at org.jdom.input.SAXBuilder.configureParser(SAXBuilder.java:506)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:351)
at org.jdom.input.SAXBuilder.build(SAXBuilder.java:673)
at com.genuitec.eclipse.j2eedt.metadata.ProjectModule.unmarshal(Unknown Source)
at com.genuitec.eclipse.j2eedt.core.J2EEProject.loadMetaData(Unknown Source)
at com.genuitec.eclipse.j2eedt.core.J2EEProject.<init>(Unknown Source)
at com.genuitec.eclipse.j2eedt.core.WebProject.<init>(Unknown Source)
at com.genuitec.eclipse.j2eedt.core.WebProject.<init>(Unknown Source)
at com.genuitec.eclipse.j2eedt.core.J2EECore.getWebProjectsList(Unknown Source)
at com.genuitec.eclipse.j2eedt.core.J2EECore.getWebProject(Unknown Source)
at com.genuitec.eclipse.j2eedt.core.J2EECore.getJ2EEProject(Unknown Source)
at com.genuitec.eclipse.j2eedt.core.J2EECore.projectAddedOpenedOrRenamed(Unknown Source)
at com.genuitec.eclipse.j2eedt.core.ResourceChangeVisitor.visit(Unknown Source)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:68)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:77)
at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:49)
at com.genuitec.eclipse.j2eedt.core.ResourceEventProcessor.resourceChanged(Unknown Source)
at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:285)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1015)
at org.eclipse.core.runtime.Platform.run(Platform.java:757)
at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:279)
at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:153)
at org.eclipse.core.internal.resources.Workspace.broadcastBuildEvent(Workspace.java:182)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:136)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:199)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:67)!ENTRY com.ibm.etools.validation.xml 1 1 2005-03-01 22:13:32.609
!MESSAGE SAX Error while validating: file:///C:/Documents and Settings/Rinaldo/workspace/MedixWeb/WebRoot/WEB-INF/web.xml
!STACK 0
java.lang.LinkageError: Class org/xml/sax/XMLReader violates loader constraints
at com.genuitec.eclipse.integration.Integrator.xmlValidator_NA(Unknown Source)
at com.ibm.etools.validation.xml.internal.XMLValidator.validate(Unknown Source)
at com.ibm.etools.validation.xml.internal.ui.eclipse.ValidateAction$1.run(Unknown Source)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1702)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1722)
at com.ibm.etools.validation.xml.internal.ui.eclipse.ValidateAction.validate(Unknown Source)
at com.ibm.etools.validation.xml.internal.ui.eclipse.ValidateAction.run(Unknown Source)
at com.ibm.etools.validation.xml.internal.ui.eclipse.Validator.validate(Unknown Source)
at com.ibm.etools.validation.xml.internal.ui.eclipse.Validator.validateIfNeeded(Unknown Source)
at com.ibm.etools.validation.xml.internal.ui.eclipse.Validator.validate(Unknown Source)
at com.ibm.etools.validation.ValidatorLauncher.start(Unknown Source)
at com.ibm.etools.validate.ValidationOperation.launchValidator(Unknown Source)
at com.ibm.etools.validate.ValidationOperation.internalValidate(Unknown Source)
at com.ibm.etools.validate.ValidationOperation.validate(Unknown Source)
at com.ibm.etools.validate.ValidationOperation.run(Unknown Source)
at com.ibm.etools.validate.ValidationBuilder.performFullBuild(Unknown Source)
at com.ibm.etools.validate.ValidationBuilder.performFullBuild(Unknown Source)
at com.ibm.etools.validate.ValidationBuilder.build(Unknown Source)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:581)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1015)
at org.eclipse.core.runtime.Platform.run(Platform.java:757)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:160)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:198)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:227)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1015)
at org.eclipse.core.runtime.Platform.run(Platform.java:757)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:230)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:249)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:278)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:138)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:199)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:67)!ENTRY com.ibm.etools.validation.xml 1 1 2005-03-01 22:15:26.673
!MESSAGE SAX Error while validating: file:///C:/Documents and Settings/Rinaldo/workspace/MedixWeb/WebRoot/WEB-INF/web.xml
!STACK 0
java.lang.LinkageError: Class org/xml/sax/XMLReader violates loader constraints
at com.genuitec.eclipse.integration.Integrator.xmlValidator_NA(Unknown Source)
at com.ibm.etools.validation.xml.internal.XMLValidator.validate(Unknown Source)
at com.ibm.etools.validation.xml.internal.ui.eclipse.ValidateAction$1.run(Unknown Source)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1702)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1722)
at com.ibm.etools.validation.xml.internal.ui.eclipse.ValidateAction.validate(Unknown Source)
at com.ibm.etools.validation.xml.internal.ui.eclipse.ValidateAction.run(Unknown Source)
at com.ibm.etools.validation.xml.internal.ui.eclipse.Validator.validate(Unknown Source)
at com.ibm.etools.validation.xml.internal.ui.eclipse.Validator.validateIfNeeded(Unknown Source)
at com.ibm.etools.validation.xml.internal.ui.eclipse.Validator.validate(Unknown Source)
at com.ibm.etools.validation.ValidatorLauncher.start(Unknown Source)
at com.ibm.etools.validate.ValidationOperation.launchValidator(Unknown Source)
at com.ibm.etools.validate.ValidationOperation.internalValidate(Unknown Source)
at com.ibm.etools.validate.ValidationOperation.validate(Unknown Source)
at com.ibm.etools.validate.ValidationOperation.run(Unknown Source)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1702)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1722)
at com.ibm.etools.validate.ui.ValidationMenuAction.checkProjectConfiguration(Unknown Source)
at com.ibm.etools.validate.ui.ValidationMenuAction.performValidation(Unknown Source)
at com.ibm.etools.validate.ui.ValidationMenuAction.validate(Unknown Source)
at com.ibm.etools.validate.ui.ValidationMenuAction$2.run(Unknown Source)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1702)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1722)
at com.ibm.etools.validate.ui.plugin.RunnableWithProgressWrapper.run(Unknown Source)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:111)I don’t understand what is the problem.
No third library in lib\extAwaiting so me info
regards
Rinaldo
Riyad KallaMemberjava.version=1.5.0-beta
What is that? You seem to be running a beta JDK… try and install 1.4.2_07 JDK and use that with the -vm switch to point to the javaw.exe executable in the \bin directory.
sanjul.saxenaMemberThe problem remain after disintall all and reinstall Eclipse and Myeclipse with a correct java release
Any suggestion?
Riyad KallaMemberThe problem remain after disintall all and reinstall Eclipse and Myeclipse with a correct java release
Please tell me *exactly* what you did and what the file names for each was.
sanjul.saxenaMemberThis week end I try again to disinstall all and reisntall again with th correct file I hope.
Monday when I’ll back to office I send you a post with the resultRegards Rinaldo and have a nice week end
-
AuthorPosts