Error creating bean with name 'sessionFactory' : MalformedParameterizedTypeException

前端 未结 3 1500
失恋的感觉
失恋的感觉 2020-12-06 12:27

ANY advice would be apprecated. I\'m stumped...

Problem

On my laptop, anytime our application tries to load the application-config.xml, I ge

3条回答
  •  我在风中等你
    2020-12-06 12:43

    I had similiar error when trying to run Mule service on Mule ESB embedded in Tomcat. The solution was to change JDK from default:

    java version "1.6.0_18"
    OpenJDK Runtime Environment (IcedTea6 1.8.1) (6b18-1.8.1-0ubuntu1)
    OpenJDK 64-Bit Server VM (build 16.0-b13, mixed mode)
    

    to good old Sun JDK:

    java version "1.6.0_20"
    Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
    Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)
    

    of course, it might have been version/patch issue. If only I had the time to investigate...

提交回复
热议问题