Code Monkey home page Code Monkey logo

Comments (11)

hisenyuan avatar hisenyuan commented on August 22, 2024

from ssm_booksystem.

RicardoYWang avatar RicardoYWang commented on August 22, 2024

好的 我再查查xml

from ssm_booksystem.

DEEMOSONG avatar DEEMOSONG commented on August 22, 2024

好的我再查查xml

我也遇到此问题,请问你解决了吗

from ssm_booksystem.

hisenyuan avatar hisenyuan commented on August 22, 2024

我也遇到此问题,请问你解决了吗

把你的web.xml贴出来看看

from ssm_booksystem.

DEEMOSONG avatar DEEMOSONG commented on August 22, 2024

我也遇到此问题,请问你解决了吗

把你的web.xml文件贴出来看看

image

我也遇到此问题,请问你解决了吗

把你的web.xml贴出来看 @

from ssm_booksystem.

DEEMOSONG avatar DEEMOSONG commented on August 22, 2024

image
image

报的这个错,百度搜到说是,jdk和spring版本问题,试过了但不行。我环境是jdk1.8 tomcat8

from ssm_booksystem.

hisenyuan avatar hisenyuan commented on August 22, 2024

这个报错是说你找不到配置文件中的值,如果下面的都配置了,那就是你的classPtah的问题

看看这个文件你有没有:src/main/resources/jdbc.properties
这个文件:src/main/resources/spring/spring-dao.xml
中的这个配置:

<context:property-placeholder location="classpath:jdbc.properties" />

from ssm_booksystem.

DEEMOSONG avatar DEEMOSONG commented on August 22, 2024

spring-dao.xml 里面没有 <context:property-placeholder location="classpath:jdbc.properties" /> 这个配置
但是有下边这个配置了,作用是一样的吧
image

from ssm_booksystem.

hisenyuan avatar hisenyuan commented on August 22, 2024

jdbc.driverClassName=com.mysql.jdbc.Driver
jdbc.url=jdbc:mysql://127.0.0.1:3306/booksystem?useUnicode=true&characterEncoding=utf8
jdbc.username=root
jdbc.password=hisen

看看jdbc.properties是否存在以上内容。
如果有,那你就搜一下eclipse classpath相关的配置

from ssm_booksystem.

DEEMOSONG avatar DEEMOSONG commented on August 22, 2024

是有的,那我去搜搜看。谢谢博主

from ssm_booksystem.

zhouchen72 avatar zhouchen72 commented on August 22, 2024

是有的,那我去搜搜看。谢谢博主

请问如何解决呢

from ssm_booksystem.

Related Issues (16)

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.