For testing call in Eclipse I use TCP/IP Monitor
Removing Trailing Spaces from JavaDoc in Eclipse
In the project I working on we wanted to add some code formatting. Therefore I installed the following Eclipse plugin: eclipse-cs
But that gave at lot of warnings. Some could be removed by the formatter and some manually. But the I got a warning in almost all JavaDoc saying Line has trailing spaces. Could not get Eclips' formatter to removed them so I googled a bit a found this nice plugin: AnyEdit tools.
That did the job :-)
1 comments Filed Under: Checkstyle, Eclipse, Eclipse Plugins
How to remove JSP EL error
If getting this error:
com.sun.faces.config.ConfigurationException: It appears the JSP version of the container is older than 2.1 and unable to locate the EL RI expression factory, com.sun.el.ExpressionFactoryImpl. If not using JSP or the EL RI, make sure the context initialization parameter, com.sun.faces.expressionFactory, is properly set.
Running eclipse and a server:
just go to 'Java EE Module Dependencies' and remove:
Building ear or war file:
make sure the following does not come with:
- servlet-api-??.jar
- jsp-api-??.jar
and let it be up to the server to provide the rigth versions.
1 comments Filed Under: Eclipse, JSF, JSP, Tomcat
Create new web project for eclipse with maven (archetype)
E.g.
mvn archetype:create -DgroupId=as.moes.mmsinbox -DartifactId=mmsinbox -DarchetypeArtifactId=maven-archetype-webapp mvn eclipse:eclipse
0 comments Filed Under: Eclipse, Maven
XSL Warning in Eclipse
To make folling error
No grammar constraints (DTD or XML schema) detected for the document.
go away, add folling:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xsl:stylesheet [<!ENTITY bullet "•"> <!ENTITY nbsp " ">]>
Change • to & #x2022;
and space to & #xa0; with no space between & and #
0 comments Filed Under: Eclipse, XML, XSL