Total Pageviews

2010/06/28

Apache Maven Configuration

1. Download: http://maven.apache.org/download.html

2. set M2_HOME=D:\lib\apache-maven-2.2.1-bin

3. Add the bin directory to your PATH, eg: %M2_HOME%\bin

4. Make sure JAVA_HOME is set

5. Run mvn --version to verify that it is correctly installed.


2010/06/21

2010/06/19

javax.faces.FacesException: javax.servlet.ServletException: java.lang.IllegalStateException: Component javax.faces.component.UIViewRoot@14ad592 not ex

Problem
javax.faces.FacesException: javax.servlet.ServletException: java.lang.IllegalStateException: Component javax.faces.component.UIViewRoot@14ad592 not expected type. Expected: javax.faces.component.UIForm. Perhaps you're missing a tag?

Solution:
insert f:view tag into JSP page

2010/06/16

Java Code Completion does not work in MyEclipse


Environment:
  1. Mac OS
  2. Myeclipse 7.1

Problem: Code Completion Does not Work

Solution:
Go to Preferences>Java>Editor>Content Assist>Advanced> Checked Other Java Proposals

2010/06/10

Spring bean mod02

Check out this SlideShare Presentation:

Spring mvc

Check out this SlideShare Presentation:

Spring db-access mod03

Check out this SlideShare Presentation:

Toms introtospring mvc

Check out this SlideShare Presentation: