facebook

JSP Editor – Problem in plain Java Projects

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 15 posts - 1 through 15 (of 18 total)
  • Author
    Posts
  • #213807 Reply

    Facts: I’m running 3.8.1 + quick fix #3.
    O/S XP-Pro
    Development & Server using JDK 1.4.2_05
    Eclipse version & Build : 3.0 200406251208
    This is the original install of Eclipse 3.0 – fresh install.
    Myeclipse 3.8 beta was de-installed.
    Myeclipse 3.8 was installed using the installer.
    Update manager was not used for Myeclipse.
    Other plug-ins include:

    XMLBuddy
    Spring beans plug-in
    GEF Framework

    Other plugins like org.eclipse.pde.* are:
    org.eclipse.pde.build_3.0.0
    org.eclipse.pde.core_3.0.0
    org.eclipse.pde.doc.use_3.0.0
    org.eclipse.pde.junit.runtime_3.0.0
    org.eclipse.pde.source_3.0.0
    org.eclipse.pde.ui_3.0.0
    org.eclipse.pde_3.0.0

    MyEclipse version 3.8.1 + quick fix 3
    I’m using Tomcat 5.0.27

    Now – when running the JSP editor – it fails with the above described message. ( This is with starting w/ clean argument ).

    However –

    When I attempt to “Add Web Project Capabilities”…the dialog box freezes even though I click the finish button.
    I have the check box DISABLED which mandates “Create web.xml

    I close the dialog window by the X control in the upper right corner –
    and then and only then can I open a JSP with the editor.
    Even then – the editor opens very slow.

    When I close eclipse – and then restart ( with -clean argument ) – and try to open the same jsp – it fails again with the message “Unable to create part:

    When I repeat the process of attempting to make it a web project as described above – I can then edit the jsp.

    I was real happy with 3.8 Beta – for me anyway it was more productive and a known quantity. I think it’s time to roll out a new 3.8.2 build once you have all the issues resolved.

    #213827 Reply

    Riyad Kalla
    Member

    Greg,
    What errors are you seeing in your log file when you try and add web caps? Can you try and add web caps then hop over to your <workspace dir>\.metadata\.log file and see what the last exception listed is and paste it here for us?

    Also what parameters are you filling in for the web module project? (exactly) I want to try and reproduce it locally.

    #213829 Reply

    When adding web project capabilites :
    This started as a Java project with ANT – and I have scripts which do my builds and deploy to Tomcat.

    Web Root Dir: /web
    Web Context Root /cprfoundation

    create web.xml is NOT CHECKED since I already have one.
    J2ee 1.4 is selected.

    java.version=1.4.2_05
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US

    !ENTRY org.eclipse.update.configurator Aug 27, 2004 11:28:03.229
    !MESSAGE Could not install bundle /C:/Program Files/MyEclipse/eclipse/plugins/org.eclipse.draw2d_3.0.0/ Bundle “org.eclipse.draw2d” version “3.0.0” has already been installed from: update@/c:/openlogic/blueglue/eclipse/plugins/org.eclipse.draw2d_3.0.0/

    !ENTRY org.eclipse.update.configurator Aug 27, 2004 11:28:03.339
    !MESSAGE Could not install bundle /C:/Program Files/MyEclipse/eclipse/plugins/org.eclipse.gef_3.0.0/ Bundle “org.eclipse.gef” version “3.0.0” has already been installed from: update@/c:/openlogic/blueglue/eclipse/plugins/org.eclipse.gef_3.0.0/

    !ENTRY org.eclipse.core.runtime 4 2 Aug 27, 2004 11:28:21.807
    !MESSAGE Problems occurred when invoking code from plug-in: “org.eclipse.core.runtime”.
    !STACK 0
    An error has occurred when initializing the input for the the editor’s source page.
    at com.genuitec.eclipse.webdesigner.htmleditor.HTMLMultiPageEditorPart.createPages(Unknown Source)
    at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:187)
    at org.eclipse.ui.internal.PartPane$2.run(PartPane.java:137)
    at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
    at org.eclipse.core.runtime.Platform.run(Platform.java:747)
    at org.eclipse.ui.internal.PartPane.createChildControl(PartPane.java:133)
    at org.eclipse.ui.internal.PartPane.createControl(PartPane.java:205)
    at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:939)
    at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:921)
    at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1020)
    at org.eclipse.ui.internal.PartStack.add(PartStack.java:290)
    at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:110)
    at org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:59)
    at org.eclipse.ui.internal.EditorAreaHelper.openEditor(EditorAreaHelper.java:266)
    at org.eclipse.ui.internal.EditorManager$4.run(EditorManager.java:697)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:686)
    at org.eclipse.ui.internal.EditorManager.openInternalEditor(EditorManager.java:782)
    at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:585)
    at org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:573)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2201)
    at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2134)
    at org.eclipse.ui.internal.WorkbenchPage.access$6(WorkbenchPage.java:2126)
    at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2113)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2108)
    at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2091)
    at org.eclipse.ui.actions.OpenWithMenu.openEditor(OpenWithMenu.java:258)
    at org.eclipse.ui.actions.OpenWithMenu.access$0(OpenWithMenu.java:251)
    at org.eclipse.ui.actions.OpenWithMenu$2.handleEvent(OpenWithMenu.java:166)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
    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:324)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
    at org.eclipse.core.launcher.Main.run(Main.java:644)
    at org.eclipse.core.launcher.Main.main(Main.java:628)

    Next – when trying to add web project capabilities……

    !ENTRY com.genuitec.eclipse.j2eedt.core 1 1 Aug 27, 2004 11:30:33.167
    !MESSAGE WebProject Capabilities Error:
    !STACK 1
    Java Model Exception: Java Model Status [Source folder ‘src’ in project cprfoundation cannot output to library ‘web/WEB-INF/classes’]
    at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:735)
    at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:2650)
    at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:2615)
    at com.genuitec.eclipse.j2eedt.core.builder.WebProjectConverter.basicConvert(Unknown Source)
    at com.genuitec.eclipse.j2eedt.core.builder.WebProjectConverter.convert(Unknown Source)
    at com.genuitec.eclipse.j2eedt.ui.wizard.WebProjectConversionWizard$1.run(Unknown Source)
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:303)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:253)
    at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:397)
    at com.genuitec.eclipse.j2eedt.ui.wizard.WebProjectConversionWizard.performFinish(Unknown Source)
    at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:609)
    at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:305)
    at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:506)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:668)
    at org.eclipse.jface.window.Window.open(Window.java:648)
    at com.genuitec.eclipse.j2eedt.ui.action.WebProjectConversionActionDelegate.basicRun(Unknown Source)
    at com.genuitec.eclipse.j2eedt.ui.action.WebProjectConversionActionDelegate.run(Unknown Source)
    at com.genuitec.eclipse.core.ui.action.LicenseValidatingActionDelegate.runWithEvent(Unknown Source)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:266)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:915)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:866)
    at org.eclipse.jface.action.ActionContributionItem$7.handleEvent(ActionContributionItem.java:785)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
    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:324)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
    at org.eclipse.core.launcher.Main.run(Main.java:644)
    at org.eclipse.core.launcher.Main.main(Main.java:628)
    !SUBENTRY 1 org.eclipse.jdt.core 4 964 Aug 27, 2004 11:30:33.167
    !MESSAGE Source folder ‘src’ in project cprfoundation cannot output to library ‘web/WEB-INF/classes’

    !ENTRY com.genuitec.eclipse.j2eedt.core 1 1 Aug 27, 2004 11:30:33.198
    !MESSAGE Error
    !STACK 0
    java.lang.reflect.InvocationTargetException
    at com.genuitec.eclipse.j2eedt.ui.wizard.WebProjectConversionWizard$1.run(Unknown Source)
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:303)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:253)
    at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:397)
    at com.genuitec.eclipse.j2eedt.ui.wizard.WebProjectConversionWizard.performFinish(Unknown Source)
    at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:609)
    at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:305)
    at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:506)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:668)
    at org.eclipse.jface.window.Window.open(Window.java:648)
    at com.genuitec.eclipse.j2eedt.ui.action.WebProjectConversionActionDelegate.basicRun(Unknown Source)
    at com.genuitec.eclipse.j2eedt.ui.action.WebProjectConversionActionDelegate.run(Unknown Source)
    at com.genuitec.eclipse.core.ui.action.LicenseValidatingActionDelegate.runWithEvent(Unknown Source)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:266)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:915)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:866)
    at org.eclipse.jface.action.ActionContributionItem$7.handleEvent(ActionContributionItem.java:785)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
    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:324)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
    at org.eclipse.core.launcher.Main.run(Main.java:644)
    at org.eclipse.core.launcher.Main.main(Main.java:628)
    Caused by: Java Model Exception: Java Model Status [Source folder ‘src’ in project cprfoundation cannot output to library ‘web/WEB-INF/classes’]
    at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:735)
    at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:2650)
    at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:2615)
    at com.genuitec.eclipse.j2eedt.core.builder.WebProjectConverter.basicConvert(Unknown Source)
    at com.genuitec.eclipse.j2eedt.core.builder.WebProjectConverter.convert(Unknown Source)
    … 41 more
    Root exception:
    Java Model Exception: Java Model Status [Source folder ‘src’ in project cprfoundation cannot output to library ‘web/WEB-INF/classes’]
    at org.eclipse.jdt.internal.core.JavaModelOperation.runOperation(JavaModelOperation.java:735)
    at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:2650)
    at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath(JavaProject.java:2615)
    at com.genuitec.eclipse.j2eedt.core.builder.WebProjectConverter.basicConvert(Unknown Source)
    at com.genuitec.eclipse.j2eedt.core.builder.WebProjectConverter.convert(Unknown Source)
    at com.genuitec.eclipse.j2eedt.ui.wizard.WebProjectConversionWizard$1.run(Unknown Source)
    at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:303)
    at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:253)
    at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:397)
    at com.genuitec.eclipse.j2eedt.ui.wizard.WebProjectConversionWizard.performFinish(Unknown Source)
    at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:609)
    at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:305)
    at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:506)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:668)
    at org.eclipse.jface.window.Window.open(Window.java:648)
    at com.genuitec.eclipse.j2eedt.ui.action.WebProjectConversionActionDelegate.basicRun(Unknown Source)
    at com.genuitec.eclipse.j2eedt.ui.action.WebProjectConversionActionDelegate.run(Unknown Source)
    at com.genuitec.eclipse.core.ui.action.LicenseValidatingActionDelegate.runWithEvent(Unknown Source)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:266)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:915)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:866)
    at org.eclipse.jface.action.ActionContributionItem$7.handleEvent(ActionContributionItem.java:785)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
    at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
    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:324)
    at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
    at org.eclipse.core.launcher.Main.run(Main.java:644)
    at org.eclipse.core.launcher.Main.main(Main.java:628)

    #213830 Reply

    Riyad Kalla
    Member

    Source folder ‘src’ in project cprfoundation cannot output to library ‘web/WEB-INF/classes’

    What is your output path set to exactly in the Eclipse settings?
    What is your src path set to?
    What is your project root?
    What is your webroot that you are trying to set?
    Do you have write access to these folders? Could this possibly be a permission issue?

    #213834 Reply

    Riyad Kalla
    Member

    Greg, out of curiosity is the page you are trying to open have an include in it? Can you try creating a new JSP using the File > New method and see if that opens OK?

    #213842 Reply

    Yes it does have an include.

    Here is the structure of my project.

    cprfoundation is the name of the project
    /build compilation class files go here.
    /dist war file and other stuff goes here
    /src all my java source files are here.
    /test unit tests.
    /web web root.

    In the Properties Panel for cprfoundation project – my java build path info is :

    Source:
    cprfoundation/src
    cprfoundation/test

    Web root is :
    cprfoundation/web

    This is a single workstation – my own network – there are no permissions issues.
    I’m the administrator – head dog here in my own office.

    I do have this to add though. My hibernate configuration information is contained in my Spring application-context.xml – and on the hibernate panel it claims this is illegal or invalid.
    My build still works and deploy works and the application works.

    #213843 Reply

    Creating a new JSP from the new menu works fine – so it is related to the includes.

    #213845 Reply

    Regarding errors. & Something my father told me.

    “When people make mistakes it means they are doing something.”

    “Those who make no mistakes – usually means they are not doing a damn thing.”

    While we are sometimes frustrated by bugs – we really appreicate your efforts in resolving them.

    #213846 Reply

    Riyad Kalla
    Member
    #213848 Reply

    Riyad Kalla
    Member

    Adding your webroot to your src dirs seems to work around this, I’ve also filed a high priority bug in our tracking system for it.

    #213849 Reply

    That workaround does not work for me – I will continue what I’m doing and wait for the update fix when it is released. Can you send me an e-mail bulletin when it’s release ?

    Thanks – and I would really like a new release instead of another QF.

    #213858 Reply

    Riyad Kalla
    Member

    greg,
    I have added a note to my TODO list to email you when the bug is fixed. The next release (3.8.2) is probably a month away since we are doing some heavy profiling and “digging” to get down into these new WTP editors and start massaging them into what we need.

    #214137 Reply

    timatracy
    Member

    I’ve experienced the same problem but may be able to help add some info to the issue.

    I have an include that is:
    <%@ include file=”/WEB-INF/views/jsp/common/includes.jsp” %>

    I added the directory above “/WEB-INF” to my source path and still had the “cannot create part” error.

    I changed the include to full absolute path the include (i.e. file=”c:/project/src/web/WEB-INF/views/jsp/common/includes.jsp”). When I did this, the JSP editor worked fine.

    I then tried removing the first slash from the include statement in my JSP file so it looked like this (I still had the parent directory in the source path):
    <%@ include file=”WEB-INF/views/jsp/common/includes.jsp” %>

    This also allowed the JSP editor to open the JSP and work fine.

    The only problem is that my servlet container requires the forward slash to find the include, so I must have it in the path.

    I hope this is of some help in resolving the issue.

    Thanks.

    #214143 Reply

    Riyad Kalla
    Member

    timatracy,
    Try and put the include back the way it was, and add your WebRoot dir to your source path, not the WEB-INF dir, I think that should work for you.

    #214144 Reply

    Riyad Kalla
    Member

    Thank you for the additioanl details, I will add them to the bug.

Viewing 15 posts - 1 through 15 (of 18 total)
Reply To: JSP Editor – Problem in plain Java Projects

You must be logged in to post in the forum log in