GithubHelp home page GithubHelp logo

Comments (6)

equilibrium999 avatar equilibrium999 commented on July 29, 2024 1

hi @quocnm-pyco
thanks for helping me
PLease find the link attached.
https://www.mediafire.com/file/fa4hmg8sh2rfx4t/[email protected]/file

from spring-boot-learning.

quocnm-py avatar quocnm-py commented on July 29, 2024

Could you upload your application.properties file?
I think you missing field loda.mysql.url in this file.
Try adding following to application.properties:
loda.mysql.url=jdbc:mysql://host1:33060/loda

Reference this link

from spring-boot-learning.

equilibrium999 avatar equilibrium999 commented on July 29, 2024

Hi, when I clone the file, the field loda.mysql.url is already there.
And even though, I tried with other fields logging.level.root and server.port. It still returns the error Could not resolve placeholder

server.port = 8081
logging.level.root=INFO
loda.mysql.url=jdbc:mysql://host1:33060/loda

from spring-boot-learning.

quocnm-py avatar quocnm-py commented on July 29, 2024

Hi, when I clone the file, the field loda.mysql.url is already there.
And even though, I tried with other fields logging.level.root and server.port. It still returns the error Could not resolve placeholder

server.port = 8081
logging.level.root=INFO
loda.mysql.url=jdbc:mysql://host1:33060/loda

Send me your compress project for helping you :D
Or you can try this

from spring-boot-learning.

quocnm-py avatar quocnm-py commented on July 29, 2024

replace all in your pom.xml by following.

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  <parent>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-parent</artifactId>
    <version>2.2.5.RELEASE</version>
    <relativePath/> <!-- lookup parent from repository -->
  </parent>

  <modelVersion>4.0.0</modelVersion>

  <artifactId>spring-boot-7-spring-application-properties</artifactId>

  <dependencies>
    <dependency>
      <groupId>org.springframework.boot</groupId>
      <artifactId>spring-boot-starter</artifactId>
    </dependency>
  </dependencies>

</project>

You run your project independency so use parent tag like above and add dependency for springboot.

from spring-boot-learning.

equilibrium999 avatar equilibrium999 commented on July 29, 2024

Thanks @quocnm-py
It's working now.

from spring-boot-learning.

Related Issues (8)

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.