[jboss-user] [JBoss Tools (users)] - Error Creating Seam Portlet
mottfried
do-not-reply at jboss.com
Tue Jan 20 05:32:47 EST 2009
I am trying to setup a Seam JSF/Portlet for bundeled version of JBoss Portal 2.7.0 with the last JBoss Developer Studio 2.0.0 CR1 or the latest JBoss Tools and my own eclipse.
When I follow http://download.jboss.org/jbosstools/nightly-docs/en/jboss_portal_tools_ref_guide/html_single/index.html#seam_portlet, I get
| java.lang.IllegalArgumentException: Path for project must have only one segment.
| at org.eclipse.core.runtime.Assert.isLegal(Assert.java:64)
| at org.eclipse.core.internal.resources.WorkspaceRoot.getProject(WorkspaceRoot.java:165)
| at org.eclipse.jem.util.emf.workbench.ProjectUtilities.getProject(ProjectUtilities.java:749)
| at org.jboss.tools.portlet.ui.internal.wizard.NewJSFPortletClassWizardPage.updateProject(NewJSFPortletClassWizardPage.java:194)
| at org.jboss.tools.portlet.ui.internal.wizard.NewJSFPortletClassWizardPage.addProjectNameGroup(NewJSFPortletClassWizardPage.java:188)
| at org.jboss.tools.portlet.ui.internal.wizard.NewJSFPortletClassWizardPage.createTopLevelComposite(NewJSFPortletClassWizardPage.java:93)
| at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizardPage.createControl(DataModelWizardPage.java:103)
| at org.eclipse.jface.wizard.WizardDialog.updateForPage(WizardDialog.java:1147)
| at org.eclipse.jface.wizard.WizardDialog.access$2(WizardDialog.java:1139)
| at org.eclipse.jface.wizard.WizardDialog$4.run(WizardDialog.java:1128)
| at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
| at org.eclipse.jface.wizard.WizardDialog.showPage(WizardDialog.java:1126)
| at org.eclipse.ui.internal.dialogs.NewWizardSelectionPage.advanceToNextPageOrFinish(NewWizardSelectionPage.java:71)
| at org.eclipse.ui.internal.dialogs.NewWizardNewPage$1.doubleClick(NewWizardNewPage.java:355)
| at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:799)
| at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
| at org.eclipse.core.runtime.Platform.run(Platform.java:880)
|
This error occurs when i am trying to add the seam portlet like in figure 5.5 in the doc.
I tried it with jboss-seam-2.0.3.CR1 and jboss-seam-2.1.1.GA.
What is wrong here ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4203182#4203182
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4203182
More information about the jboss-user
mailing list