Comments (6)
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.
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.
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.
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.
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.
Thanks @quocnm-py
It's working now.
from spring-boot-learning.
Related Issues (8)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spring-boot-learning.