GithubHelp home page GithubHelp logo

Comments (5)

acidlychee avatar acidlychee commented on April 28, 2024

@laozhuang727 maybe due to version conflict..看一下libs,是不是有两个不同版本的spring jar

from springblog.

laozhuang727 avatar laozhuang727 commented on April 28, 2024

是的,我指定了具体的版本后就没有问题了

change from
compile 'org.springframework:spring-orm:+'
compile 'org.hibernate:hibernate-entitymanager:+'

to
compile 'org.springframework:spring-orm:4.2.7.RELEASE'
compile 'org.hibernate:hibernate-entitymanager:4.3.11.Final'

Done

from springblog.

laozhuang727 avatar laozhuang727 commented on April 28, 2024

还有一个问题,为什么作者要这样设置:
image

这导致了如果直接在idea中启动application会jade页面找不到

报如下错误:
TemplateInputException: Error resolving template "home/index", template might not exist or might not be accessible by any of the configured Template Resolvers

改为这样后ok
image

from springblog.

YogeshDoke avatar YogeshDoke commented on April 28, 2024

i am having same problem what i have to do exactly

from springblog.

Raysmond avatar Raysmond commented on April 28, 2024

I already updated the versions of Spring Boot and Spring Framework and tested in Intellij IDEA. Please update your repository and follow the new instructions to import the project into your IDEA. I should be okay.

from springblog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.