Comments (4)
Works for me (when I fixed the pom.xml
a bit - changes should show up in README now)
$ curl localhost:8080
{"message":"Hello World"}
from spring-boot.
That was with a Java project. Interestingly it doesn't work with the Groovy CLI. I'll take a look.
from spring-boot.
OK, I get it. You would need to add a @grab for the actuator to make it work with in Groovy:
@Grab("org.springframework.boot:spring-boot-starter-actuator:0.5.0.M1")
I guess we could add a "marker annotation" @EnableActuator
as a short hand for this.
from spring-boot.
Yes, when i checked the groovy sample, that showed the @grab. So now I have the groovy one working.
In my java example, I was using starter-web instead of starter-actuator in my pom.xml. But now, I changed that, but maven is saying it can't find spring-boot-starer-actuator:0.5.0.BUILD-SNAPSHOT.
Looks like it is just my setup, so I will close this issue.
from spring-boot.
Related Issues (20)
- Upgrade to Spring HATEOAS 2.1.5
- Upgrade to Spring Kafka 3.0.16
- Upgrade to Spring HATEOAS 2.2.2
- Upgrade to Spring Kafka 3.1.4
- Upgrade to Hibernate 6.5.0.CR2
- NoClassDefFoundError can be thrown from LaunchedClassLoader when threads are interrupted
- Springboot version upgrade from 2.7.12 to 3.1.7 related issue HOT 1
- Executable JAR application startup is slower after 3.2.0 when Hibernate scanner is not disabled
- Invalid requests shows implementation details with embedded Jetty HOT 2
- Producible's javadoc has the wrong link text for @WriteOperation and @DeleteOperation
- Producible's javadoc has the wrong link text for @WriteOperation and @DeleteOperation
- Upgrade to ActiveMQ 5.18.4
- Upgrade to Netty 4.1.109.Final
- Upgrade to R2DBC Postgresql 1.0.5.RELEASE
- Upgrade to SLF4J 2.0.13
- Make the documentation about the customization of spring data mongodb converters more prominent HOT 1
- Upgrade to ActiveMQ 5.18.4
- Upgrade to Netty 4.1.109.Final
- Upgrade to Pulsar Reactive 0.5.4
- Upgrade to SLF4J 2.0.13
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.