Вопрос по eclipse, java – Предупреждающее сообщение «SetPropertiesRule» при запуске Tomcat из Eclipse [дубликат]

110

This question already has an answer here:

Setting property 'source' to 'org.eclipse.jst.jee.server:JSFTut' did not find a matching property 7 answers

Error: User Rate Limit Exceeded

WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server: (project name)' did not find a matching property.

Error: User Rate Limit Exceeded

stackoverflow.com/questions/3566146/… Z3ro.Gravity
The currently accepted answer of Alberto Yano is WRONGError: User Rate Limit Exceeded BalusC
Error: User Rate Limit Exceeded Hack-R

Ваш Ответ

7   ответов
0

WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server: (project name)' did not find a matching property.

First close all the existing projects by right clicking in Project explorer. Remove all the projects already synchronized with the server. Remove the server and redeploy it. Create a new dynamic project, do nothing yet just try running this on the server. Check the console, do you get the warning now. (My case I didn't get any).
This means that something is wrong with your project not with eclipse or the server. Now restart the server. Don't run any app yet.
You probably know that the Tomcat container loads up context of all the synchronized apps at the start. It will load context of any already synchronized app. Here is the catch, if there is really something wrong in your project it will show the stack trace of the exceptions.Look carefully and you will find where is the bug in your app.

-2

Richard
Error: User Rate Limit Exceeded
0

Stop the server (Make sure its stopped via Task Manager, I killed javaw.exe as many times Eclipse doesn't really shut down properly) Right click the Server->'Add and Remove'. Remove the project. Finish. Right click the Server->'Add and Remove'. Add the project. Finish. Restart see if works, if not continue Double click the Server... See where its getting published (Server Path: which I think goes to a tmp# directory for me since I use an already-installed Tomcat instance I re-use, not sure if would be different if use Eclipse's internal/bundled tomcat server) Right click on Server and 'Clean' ... Last one worked for me last time (so may want to try this first), Adding/Removing project worked for me other times. If doesn't work, continue ... Delete all files from the Server Path and see if all files actually get built and published there (/WEB-INF/classes and other regular files in / webroot). Restart Eclipse and/or machine (not sure I ever needed to get to this point)
32

:

The warning about the source property is new with Tomcat 6.0.16 and may be ignored. WTP adds a "source" attribute to identify which project in the workspace is associated with the context. The fact that the Context object in Tomcat has no corresponding source property doesn't cause any problems.

Error: User Rate Limit Exceededwhy do they show it??Error: User Rate Limit Exceeded
5

Open servers tab. Double click on the server you are using. On the server configuration page go to server options page. Check Serve module without publishing. Then save the page and configurations. Restart the server by rebuild all the applications.

0


<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>

0

copy the struts.xml file to the src folder of our project. click "file-->save all" in eclipse and go click "project-->clean". restart the server.

Похожие вопросы