Eclipse下的Java工程运行时出现oracle referencess non-existing project原因

eclipse中variable references non-existion resource可能原因及解决方案 - kongjunlongaa的博客 - CSDN博客
eclipse中variable references non-existion resource可能原因及解决方案
ant问题,我是用解决方法2解决的
在启动项目的时候报了这个错误,报的变量是${workspace_loc}这个变量
网上提供的解决方案有几种:
1.删除tomcat中temp文件夹中所有文件,删除webapp中所有文件.删除work--&catalina--&localhost中部分文件 &我试了,对我无效
2.因为ant引用了用不到的jar包,网上是这么说的,但是我看了没有问题.
具体操作是: eclipse编辑器中 window--&preferences--&ant--&runtime--&classpath
3.这种是最靠谱的,但是仍然没有解决我的,具体操作为:
右击项目--&buildpath--&resource--&linked resource--&path variable,网上提示到了这里,在这里看以看到workspace_loc这个变量指向了你的workspace本地地址,但是不可编辑,
也就谈不上什么解决了,或者我不知道怎么解决
我的最终猜想与解决方案:
我觉得是因为eclipse中配置的tomcat记忆里你这个项目以前的检出记录,假如你以前检出叫做check,后来改名字叫check1.你会发现错误信息就是
variable references non-existion resource : ${workspace_loc:check/WebRoot},这代表了可能是tomcat以某种方式觉得你这个项目和之前的是一样的,所以读取了check的配置文件,但发现,根据那个配置找不到你的资源文件,因为你新的检出文件夹叫做check1.
我印象中,网上有修改这个记忆的办法,但懒得寻找,如果你有兴趣,请帮忙寻找,并给予我回复,这样我也能知道原因
说了这么多,我的解决方案是:
删除eclipse server中的tomcat,重新添加一个就ok了.
我的热门文章flie-&properties-&Run/Debug Settings 删除引起错误的或不需要的工程
andywangcn
浏览: 5181 次
来自: 南京
(window.slotbydup=window.slotbydup || []).push({
id: '4773203',
container: s,
size: '200,200',
display: 'inlay-fix'3146人阅读
Go to Project-&propertiesIn properties window's left pane select &Run/Debug Settings&.Select &Configure& and click &edit&In tab &Main& replace Project to your current project.Select &Main class& by clicking on search button(it will be your class name).Now hit OK
&&相关文章推荐
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
访问:4648次
排名:千里之外
(window.slotbydup = window.slotbydup || []).push({
id: '4740887',
container: s,
size: '250,250',
display: 'inlay-fix'温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!&&|&&
LOFTER精选
网易考拉推荐
用微信&&“扫一扫”
将文章分享到朋友圈。
用易信&&“扫一扫”
将文章分享到朋友圈。
阅读(1624)|
用微信&&“扫一扫”
将文章分享到朋友圈。
用易信&&“扫一扫”
将文章分享到朋友圈。
历史上的今天
在LOFTER的更多文章
loftPermalink:'',
id:'fks_095071',
blogTitle:'eclipse项目引用问题 无法找到另一个项目的类',
blogAbstract:'不需要在Java Build Path中Add项目,只需要在WebProject-&Properties-&Java EE Modul Dependencies中选中java项目的JAR/Module就可以了,此时Project References会自动勾选择相应的java项目!希望能对大家有帮助:)',
blogTag:'',
blogUrl:'blog/static/',
isPublished:1,
istop:false,
modifyTime:0,
publishTime:9,
permalink:'blog/static/',
commentCount:0,
mainCommentCount:0,
recommendCount:0,
bsrk:-100,
publisherId:0,
recomBlogHome:false,
currentRecomBlog:false,
attachmentsFileIds:[],
groupInfo:{},
friendstatus:'none',
followstatus:'unFollow',
pubSucc:'',
visitorProvince:'',
visitorCity:'',
visitorNewUser:false,
postAddInfo:{},
mset:'000',
remindgoodnightblog:false,
isBlackVisitor:false,
isShowYodaoAd:false,
hostIntro:'',
hmcon:'1',
selfRecomBlogCount:'0',
lofter_single:''
{list a as x}
{if x.moveFrom=='wap'}
{elseif x.moveFrom=='iphone'}
{elseif x.moveFrom=='android'}
{elseif x.moveFrom=='mobile'}
${a.selfIntro|escape}{if great260}${suplement}{/if}
{list a as x}
推荐过这篇日志的人:
{list a as x}
{if !!b&&b.length>0}
他们还推荐了:
{list b as y}
转载记录:
{list d as x}
{list a as x}
{list a as x}
{list a as x}
{list a as x}
{if x_index>4}{break}{/if}
${fn2(x.publishTime,'yyyy-MM-dd HH:mm:ss')}
{list a as x}
{if !!(blogDetail.preBlogPermalink)}
{if !!(blogDetail.nextBlogPermalink)}
{list a as x}
{if defined('newslist')&&newslist.length>0}
{list newslist as x}
{if x_index>7}{break}{/if}
{list a as x}
{var first_option =}
{list x.voteDetailList as voteToOption}
{if voteToOption==1}
{if first_option==false},{/if}&&“${b[voteToOption_index]}”&&
{if (x.role!="-1") },“我是${c[x.role]}”&&{/if}
&&&&&&&&${fn1(x.voteTime)}
{if x.userName==''}{/if}
网易公司版权所有&&
{list x.l as y}
{if defined('wl')}
{list wl as x}{/list}

我要回帖

更多关于 web references 的文章

 

随机推荐