Giter Club home page Giter Club logo

spring-boot-admin-server-ui-javamelody's Introduction

spring-boot-admin-server-ui-javamelody's People

Contributors

evernat avatar gunnarvelle avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

spring-boot-admin-server-ui-javamelody's Issues

Use same version number as spring boot admin

If you target a specific Spring Boot Admin version for this component, why not use same version number scheme as SBA? Currently this module uses 1.5.7.0 as version, and SBA uses 1.5.7.

If you use the same version number it would be possible to use same version property in my maven pom.xml

<properties>
<spring-boot-admin.version>1.5.7</spring-boot-admin.version>
</properties>

<dependency>
	<groupId>de.codecentric</groupId>
	<artifactId>spring-boot-admin-server</artifactId>
	<version>${spring-boot-admin.version}</version>
</dependency>

<dependency>
	<groupId>net.bull.javamelody</groupId>
	<artifactId>spring-boot-admin-server-ui-javamelody</artifactId>
	<version>${spring-boot-admin.version}</version>
</dependency>

Wrong configuration filename in spring.factories

The spring.factories file specifies this config:
org.springframework.boot.autoconfigure.EnableAutoConfiguration=spring.boot.admin.javamelody.configuration.JavamelodyAutoConfiguration but the correct filename should be JavaMelodyAutoConfiguration, with a capital M.

This gives a FileNotFoundException on starting the admin-server.

Caused by: java.io.FileNotFoundException: class path resource [spring/boot/admin/javamelody/configuration/JavamelodyAutoConfiguration.class] cannot be opened because it does not exist
	at org.springframework.core.io.ClassPathResource.getInputStream(ClassPathResource.java:172)
	at org.springframework.core.type.classreading.SimpleMetadataReader.<init>(SimpleMetadataReader.java:50)
	at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:98)
	at org.springframework.boot.type.classreading.ConcurrentReferenceCachingMetadataReaderFactory.createMetadataReader(ConcurrentReferenceCachingMetadataReaderFactory.java:89)
	at org.springframework.boot.type.classreading.ConcurrentReferenceCachingMetadataReaderFactory.getMetadataReader(ConcurrentReferenceCachingMetadataReaderFactory.java:76)
	at org.springframework.core.type.classreading.SimpleMetadataReaderFactory.getMetadataReader(SimpleMetadataReaderFactory.java:93)
	at org.springframework.boot.autoconfigure.AutoConfigurationSorter$AutoConfigurationClass.getAnnotationMetadata(AutoConfigurationSorter.java:213)
	... 22 common frames omitted

Receive 404 when clicking the javamelody link in spring boot admin

We need to add a contextPath in our spring boot admin. We got 404 error when we click the javamelody link. If we remove the contextPath, the javamelody is showing up. Is there any other additional configuration in spring boot admin to make it work? Thank you

application.yml in Spring boot admin
server:
contextPath: /admin

application.yml in Client
spring
boot:
admin:
url: https://${admin.host}:${admin.port}/admin

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.