2014-03-09

spring 3.x +hibernate 4

test out div
test in div
pom.xml:

 4.0.0
 pl.kropladev
 spring-hibernate
 0.0.1-SNAPSHOT
 war
 

  
  1.6
  UTF-8
  1.6
  3.0
 
  
  2.2
  1.2
  2.5

  
  3.2.6.RELEASE
  1.5.0.RELEASE

  
  11.2.0.4

  
  4.1.5.Final
  4.2.0.Final

  
  1.0.13
  1.7.5

  
  4.11


 

 
  
   
    maven-compiler-plugin
    ${maven.version}
    
     ${compiler.version}
     ${compiler.version}
    
   

  
 
 
 
  
  
   org.springframework
   spring-context-support
   ${spring-framework.version}
  

  
  
   com.oracle
   ojdbc5
   ${oracle.ojdbc.version}
  

  
   org.springframework
   spring-jdbc
   ${spring-framework.version}
  

  
   org.springframework.data
   spring-data-jpa
   ${spring-jpa.version}
  

  
  
   org.springframework
   spring-orm
   ${spring-framework.version}
  
  
   
    org.hibernate
    hibernate-core
    ${hibernate.version}
   
  
   
    org.hibernate
    hibernate-validator
    ${hibernate-validator.version}
   
  
  

   
    org.slf4j
    slf4j-api
    ${slf4j.version}
    compile
   

   
    ch.qos.logback
    logback-classic
    ${logback.version}
    runtime
   

   
    commons-dbcp
    commons-dbcp
    1.4
   

   
   
    junit
    junit
    ${junit.version}
    test
   

   
    javax.servlet
    servlet-api
    ${servlet.version}
   

 



repository.xml:



  

  
    
    
    
      
        org.hibernate.dialect.Oracle10gDialect
        true
      
    
  

  
  
    
   



2014-03-06

Eclipse jstl errors

The error message: 

Can not find the tag library descriptor for “http://java.sun.com/jsp/jstl/core”

 Overview: 

JSTL (JSP Standard Tag Library) is a JSP based standard tag library which offers tags usefull for page creation.
The jstl/core resides in jstl jar package. Till version 1.0 it was placed inside the main directory and definition to it was:
<%@taglib uri="http://java.sun.com/jstl/core" prefix="c"%>

 From version 1.1 the correct definition is:
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

Solution: 

In the project preferences check the Target servers settings. When those settings are ok, try to remove and add one more time the server.

more details:
http://stackoverflow.com/tags/jstl/info