faceted project validation builder
I am running Eclipse 3.1 on Mac OS X and everything is going fine. I did a clean & and build for my Struts application and noticed that my class files were not built. I have the Default output folder defined as: projectName/WebRoot/WEB-INF/classes but no classes are compiled there. I looked in the Tomcat deploy directory, and despite there being a classes folder, it also is empty. Looking at the project properties I have the following defined (I am guessing myEclipse put there here): webClasspathBuilder
J2EEProjectValidator
DeploymentDescriptorValidator
Validation
Strutured Document and Model Builder
DeploymentBuilder
Java Builder All are checked, but selecting Build Project or Build All doesn’t do a thing. I know I was compiling classes earlier, so what happened? The project name in the Package Explorer has a red X on it, as if there is a problem, inspecting the Project Properties doesn’t indicate anything. November , at : pm # REPLY
Profile photo of Riyad Kalla
Riyad Kalla Member
Let’s figure out the problem first, that will cause a build to fail especially if it’s a classpath error. I would suggest first opening up your problems view, and seeing the error is there. If it’s not, click the down arrow in the corner of the problems view and select Filter, then click Select All to turn on the visibility for all errors, hit OK. See any new errors? If not, then try and restart MyEclipse adding -clean to your command line arguments (or your eclipse.ini file, as I mentioend in my other post), close and reopen your project and Clean it. Did that help? If you hover over the root node of the project that has the error marker, does the tooltip that popup show any helpful information? November , at : pm # REPLY
Profile photo of David
David Member
Wow, I didn’t even know about that “problems view” is that handy! Anyway, I did that ( could not find an “eclipse.ini” on my hard drive) and a bunch of errors like this appear:
Severity Description Resource In Folder Location Creation Time
Illegal type of archive for required library: ‘/usr/local/jakarta-struts-1.1/lib/struts-bean.tld’ in project JSI JSI November , :: PM Severity Description Resource In Folder Location Creation Time
Illegal type of archive for required library: ‘/usr/local/jakarta-struts-1.1/lib/tiles-config_1_1.dtd’ in project JSI JSI November , :: PM So that shows me that I am missing libraries, even tho I have added them to my /project/lib directory. Is that the correct place for them to be deployed ? November , at : pm # REPLY
Profile photo of Riyad Kalla
Riyad Kalla Member
Your libraries should be placed in your WebRoot/WEB-INF/lib directory. Additionally MyEclipse will, by default (unless you turned it off), automatically add all libs in that dir to your build path. If they don’t, you need to do it manually. When you deploy your project, everything from your WebRoot directory down is deployed out, so if your project relies ona resource, make sure it’s in the appropriate place in there somewhere. **The default web root dir name is WebRoot, you can change it to whatever you want in the MyEclipse settings under J2EE Project.
faceted project validation builder的更多相关文章
- Errors running builder 'Faceted Project Validation Builder' on project
右键eclipse中的工程,选择properties,选择build,去掉出问题的validation校验项,重启eclipse即可.
- Target runtime Apache Tomcat v6.0 is not defined. phyy Unknown Faceted Project Problem
Description Resource Path Location TypeTarget runtime Apache Tomcat v6.0 is not defined. phyy Unknow ...
- Faceted project metadata file "/.settings/org.eclipse.wst.common.project.facet.core.xml" could not be read
转载自 https://blog.csdn.net/qing_gee/article/details/79397052 Eclipse启动后项目报了下图这个错误,说是org.eclipse.wst.c ...
- Description Resource Path Location Type Java compiler level does not match the version of the installed Java project facet Unknown Faceted Project Problem (Java Version Mismatch)
project 编译问题,需要三处的jdk版本要保持一致,才能编译通过. 1.在项目上右键properties->project Facets->修改右侧的version 保持一致 2. ...
- Errors running builder "Integrated External Tool Builder" on project
Errors during build.Errors running builder "Integrated External Tool Builder" on project p ...
- eclipse中报错:Errors running builder “Integrated External Tool Builder” on project
在eclipse构建项目的时候,一直报如下错误: Errors during build. Errors running builder "Integrated External Tool ...
- Eclipse中Project的属性Deployment Assembly(部署程序集)消失了,不存在了,去哪儿了
1. 该项目不是web项目,所以不存在Deployment Assembly 属性.在Eclipse中,怎样将一个非web project变成一个web project? 1)右键项目,选择Proje ...
- meclipse中project facet问题
meclipse中project facet问题 (2012-02-14 14:59:48) 转载▼ 标签: 杂谈 分类: 技术 一般出现在从别处import的项目上,只有项目文件夹上有红叉,其他地方 ...
- eclipse中project facet问题
一般出现在从别处import的项目上,只有项目文件夹上有红叉,其他地方都正常,现总结个人的几个解决方案: 有几种可能: 1,编码设置是否一致,也即是你项目原来的编码和现在eclipse用的默认编码是否 ...
随机推荐
- WIN10 网速问题,边下载 边逛论坛 电脑 有点卡
引用:https://www.chiphell.com/forum.php?mod=viewthread&tid=1961836&extra=page%3D1&mobile=2 ...
- sqlserver收缩数据库
缩数据库文件(如果不压缩,数据库的文件不会减小 企业管理器--右键你要压缩的数据库--所有任务--收缩数据库--收缩文件 --选择日志文件--在收缩方式里选择收缩至XXM,这里会给出一个允许收缩 ...
- 黄聪:VPS服务器轻松备份工具配置
- 将Word,PDF文档转化为图片
#region 将Word文档转化为图片 /// <summary> /// 将Word文档转化为图片 /// </summary> /// <param name=&q ...
- ALGO-121_蓝桥杯_算法训练_猴子分苹果
问题描述 秋天到了,n只猴子采摘了一大堆苹果放到山洞里,约定第二天平分.这些猴子很崇拜猴王孙悟空,所以都想给他留一些苹果.第一只猴子悄悄来到山洞,把苹果平均分成n份,把剩下的m个苹果吃了,然后藏起来一 ...
- LeetCode——8. String to Integer (atoi)
一.题目链接:https://leetcode.com/problems/string-to-integer-atoi/ 二.题目大意: 实现一个和C语言里atoi具有相同功能的函数,即能够把字符串转 ...
- vue聊天功能之滚动条自动定位到底部
一.问题描述 首次进入聊天窗口,数据加载之后先显示最早消息,后显示最新消息,也就是数据加载完之后,延迟了一个时间滚动条才自动定位到最底部. 二.解决方案 如果数据在刚好加载完的时候滚动条就定位到了最底 ...
- 数据库SQL语言学习--上级练习1(数据查询)
上机练习1 1. 启动SQL Server 2008中的 SQL Server Management Studio. 2. 创建数据库Student ...
- Java-Runoob-高级教程-实例-方法:11. Java 实例 – enum 和 switch 语句使用
ylbtech-Java-Runoob-高级教程-实例-方法:11. Java 实例 – enum 和 switch 语句使用 1.返回顶部 1. Java 实例 - enum 和 switch 语句 ...
- mysql 删除表 外键出错
MySQL库中有俩表,table1和table2,相互关联,在删除表的时候出错: Cannot delete or update a parent row: a foreign key constra ...