maven - eclipse linked resource not found by jsp -
i have eclipse (juno) workspace maven projects, source directories appeared under folder called "java resources".
because of migration @ office, had create new workspace , reimport projects. "java resources" folder gone , source directories appear straight under project root.
this messing linked resources in jsp files have. there jsp file in project imported in many other files, in other projects. there link in projects file can found. link found ok, instead of looking file starting in root of source directory, looking in root of project:
<%@include file="/common/includes/global.jsp"%> , i'm getting fragment "/common/includes/global.jsp" not found @ expected path /myproject/common/includes/global.jsp
update- thought problem linked resource caused configuration. solved java resources issues , jsp still doesnt find file
i looked configuration files in old workspace , found org.eclipse.wst.common.component file under .settings different. tag defaultrootsoruce incorrect, since jsps in project not under standard maven layout.
this fixed it:
eclipse maven
No comments:
Post a Comment