利用MyEclipse 的JSF 方式打开一个JSP文件时出现问题如下:
java.lang.IllegalArgumentException: URI has an authority component
at java.io.File.<init>(Unknown Source)
at com.genuitec.eclipse.j2eedt.uriresolver.SystemIDResolver.resolve(Unknown Source)
at org.eclipse.wst.common.uriresolver.internal.ExtensibleURIResolver.resolve(ExtensibleURIResolver.java:68)
at org.eclipse.wst.sse.core.internal.FileBufferModelManager$CommonURIResolver.getLocationByURI(FileBufferModelManager.java:195)
at org.eclipse.wst.sse.core.internal.FileBufferModelManager$CommonURIResolver.getLocationByURI(FileBufferModelManager.java:179)
at org.eclipse.wst.html.core.internal.htmlcss.URLModelProvider.resolveURI(URLModelProvider.java:401)
at org.eclipse.wst.html.core.internal.htmlcss.URLModelProvider.getCommonModelFor(URLModelProvider.java:86)
at org.eclipse.wst.html.core.internal.htmlcss.URLModelProvider.getModelForRead(URLModelProvider.java:259)
at org.eclipse.wst.html.core.internal.htmlcss.LinkElementAdapter.retrieveModel(LinkElementAdapter.java:239)
at org.eclipse.wst.html.core.internal.htmlcss.LinkElementAdapter.getModel(LinkElementAdapter.java:104)
at org.eclipse.wst.html.core.internal.htmlcss.AbstractStyleSheetAdapter.getSheet(AbstractStyleSheetAdapter.java:82)
at org.eclipse.wst.html.core.internal.htmlcss.HTMLDocumentAdapter.item(HTMLDocumentAdapter.java:241)
at org.eclipse.jst.pagedesigner.css2.CSSTempUtil.getStyleSheets(CSSTempUtil.java:62)
at org.eclipse.jst.pagedesigner.css2.CSSUtil.getCSSDeclaration(CSSUtil.java:138)
at org.eclipse.jst.pagedesigner.css2.style.AbstractStyle.calculateDeclaration(AbstractStyle.java:133)
at org.eclipse.jst.pagedesigner.css2.style.AbstractStyle.getDeclaration(AbstractStyle.java:143)
at org.eclipse.jst.pagedesigner.css2.style.AbstractStyle.calculateProperty(AbstractStyle.java:175)
at org.eclipse.jst.pagedesigner.css2.style.AbstractStyle.getStyleProperty(AbstractStyle.java:114)
at org.eclipse.jst.pagedesigner.css2.style.AbstractStyle.getDisplay(AbstractStyle.java:493)
at org.eclipse.jst.pagedesigner.css2.layout.CSSFigure.regetLayout(CSSFigure.java:136)
at org.eclipse.jst.pagedesigner.css2.layout.CSSFigure.invalidateCSS(CSSFigure.java:90)
at org.eclipse.jst.pagedesigner.css2.layout.CSSFigure.setCSSStyle(CSSFigure.java:74)
at org.eclipse.jst.pagedesigner.figurehandler.DefaultFigureHandler.updateFigure(DefaultFigureHandler.java:32)
at org.eclipse.jst.pagedesigner.figurehandler.FigureFactory.updateDeepFigure(FigureFactory.java:132)
at org.eclipse.jst.pagedesigner.parts.ElementEditPart.refresh(ElementEditPart.java:309)
at org.eclipse.jst.pagedesigner.parts.ElementEditPart.refresh(ElementEditPart.java:261)
at org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:235)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(AbstractGraphicalEditPart.java:212)
at org.eclipse.jst.pagedesigner.parts.NodeEditPart.addNotify(NodeEditPart.java:101)
at org.eclipse.jst.pagedesigner.parts.ElementEditPart.addNotify(ElementEditPart.java:156)
at org.eclipse.gef.editparts.AbstractEditPart.addChild(AbstractEditPart.java:198)
at org.eclipse.gef.editparts.AbstractEditPart.refreshChildren(AbstractEditPart.java:727)
at org.eclipse.jst.pagedesigner.parts.DocumentEditPart.refreshChildren(DocumentEditPart.java:107)
at org.eclipse.gef.editparts.AbstractEditPart.refresh(AbstractEditPart.java:677)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.refresh(AbstractGraphicalEditPart.java:564)
at org.eclipse.jst.pagedesigner.parts.DocumentEditPart.refresh(DocumentEditPart.java:95)
at org.eclipse.gef.editparts.AbstractEditPart.addNotify(AbstractEditPart.java:235)
at org.eclipse.gef.editparts.AbstractGraphicalEditPart.addNotify(AbstractGraphicalEditPart.java:212)
at org.eclipse.jst.pagedesigner.parts.NodeEditPart.addNotify(NodeEditPart.java:101)