configserver's People
Forkers
making boostrack-oss haybu seshnagineni toschneck tspannatpivotal dongtaolqq markash mohanrajthirumoorthy nemalipuri zinto boxfish-project sapientcloud achmadns awwal agilemobiledev kimfidw sergiussidorov mminella ddevogel appalrpivotal kkrumlian javy-liu denniswendell brainagenet rashmitrathod verahan nodje wh007 miniknife bluenickle qpsandy jv2003113 mchudgins smeduru fusionxyz examplerepositories tonnyfeng runc mihairatiu abeosoft michaeltecourt ameet123 heidcloud tortoise123 rockytan soundbus-technologies brettaylor a520ass pjsong jamsethoth dudadornelles a581944 hgeordie keithsjohnson gnovoab huluohu quickhaker pezhman32 kyleguo yanwuyang rahulsinghania87 zhangwei5095 ojacquemart sleyzerzon chongxy pierre-filliolaud lucienh zhaobinbf srnathanx jimhub markfisher hubertwng weil902 destinyliu zhouzhengde jferrater luyao1986 prudhvigummadi tz158310601 lkanthrao ankushnakaskar yordanborisov jforkyao andywsy kingshiyv yorso ksangabriel turreta 6310710330 drature demonquan kazeki abhsc tonyliu0112 schuckbeta czq5783095 mengfj curdlx wzz-codeconfigserver's Issues
POM file has a potentially outdated spring cloud dependency
Running ./mvnw spring-boot:run
for the first time does not find appropriate dependencies for version Brixton.BUILD-SNAPSHOT
of spring cloud starter and fails to run the Spring Boot app. Changing the dependency version to Brixton.SR1
(labeled current on http://projects.spring.io/spring-cloud/) resolves the issue. I'd be happy to create a PR for this issue if my findings are valid.
Unable to use latest spring cloud version for config server
I am creating config-server with latest spring cloud version,
<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.4.3</version> <relativePath/> <!-- lookup parent from repository --> </parent>
<spring-cloud.version>2020.0.1</spring-cloud.version>
we are always getting below error,
`2021-03-24 15:54:31.004 INFO 29368 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
2021-03-24 15:54:31.021 INFO 29368 --- [ main] ConditionEvaluationReportLoggingListener :
Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2021-03-24 15:54:31.032 ERROR 29368 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
APPLICATION FAILED TO START
Description:
Invalid config server configuration.
Action:
If you are using the git profile, you need to set a Git URI in your configuration. If you are using a native profile and have spring.cloud.config.server.bootstrap=true, you need to use a composite configuration.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6.692 s
[INFO] Finished at: 2021-03-24T15:54:31+05:30
[INFO] Final Memory: 29M/107M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.4.3:run (default-cli) on project prd-config-server: Application finished with exit code: 1 -> [Help 1]
[ERROR] `
bootstarp.yml
spring:
profiles:
active: composite
cloud:
config:
server:
composite:
- type: git
uri: git_url
username: ${GIT_USER}
password: ${GIT_PASS}
search-paths: '{application}'
cloneOnStart: true
force-pull: true
order: 2
Please help us to find cause.
there is some thing wrong when i try to execut this command ./mvnw spring-boot:run
No plugin found for prefix 'spring-boot' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories
Unable to decrypt
Posted below information to localhost:8888/encrypt
with content-type text/plain
data : password
key : mysecret
Got key
AQB4ofiAUiOkFlBFY5w8IABJHhOmKeP80nCpB1Un7FL1JmtP5NVoY5BQxj1PTSkdYfSwuUkCDAti5xrvICMFjzH1NKdJKx2A78XshaB/HPed9pKe1qgckIU44miLYHrE+BXOq8HWv36iMHKK9qg5Osx0meJhUBII69q21zkxQdijcmH0AXCT82i5wc0kX2H7eeYecQWBQn/YPse/m3r8iYOWv3OM4cSurCflfct/KbGQxAjELvpEhi9i7xd19xwk2+5nkBcBBPaCkAjNAuNrsyF7cv2E3SryNrmu2pP6IDDi7U4DS5KKS8uXN1Hddjd6N5Jn50V50r8O3qeTrf5AmUuYdmBuP8PC3ZnT6LKXUJFap9u2l5WNKII0t43nmWBw26cDOv0whkXgjoAF+oEFT2FlaRwByJjbVMFZ6jcg9+iMwIh7U349waZ0m7cguwc9I5AWn/4bXieRb1rYyvxLvf/qFRuO/JvffVxyVC0fWXgOZTvv+JYDKyTY+jUJLHkaRkbT1FbnFqNoipcZ2sOGPI+OF8g+ApX6XO1VyVsoxiuddDRVwHSemlwWvsPJLGfVyQ4ZDAN6Ue7QAI3NrIcwXQsyAhcDNBmut8oSkC/uY3custaYdGWLJIRbflaZDoQ1GV8HQtnsaQlz555N4XNWQoDZVDzaOPrjZsWuJVYfpg1UJbYiOrTZyVH9/XdDUJtGJ2M=
In case of decryption using localhost:8888/decrypt
with same content-type and below data
data : <key returned above>
key : mysecret
Received error ->
{
"status": "INVALID",
"description": "Text not encrypted with this key"
}
Cannot authenticate when running in Pivotal Web Services
I have an unmodified version of configserver running on PWS. If I am reading the config in application.yml correctly:
---
spring:
profiles: cloud
eureka:
instance:
hostname: ${PREFIX:}${spring.application.name}.${application.domain:cfapps.io}
nonSecurePort: 80
# no JCE in PWS
security:
user:
password: password
When running in PWS the password should be password
.
I'm not completely sure this is necessary, but I set the environment variable SPRING_PROFILES_DEFAULT=cloud
in my PWS app config.
When I run curl, I get this error:
~/s/configserver ❯❯❯ curl https://user:[email protected]/application/cloud
{"timestamp":1417193631970,"status":401,"error":"Unauthorized","message":"Bad credentials","path":"/application/cloud"}%
spring-cloud-starter-bus-redis is error
special thanks
this is probably pom below,when i run ,the error is
Error creating bean with name 'bindingService' defined in class path resource [org/springframework/cloud/stream/config/ChannelBindingServiceConfiguration.class]: Unsatisfied dependency expressed through constructor argument with index 1 of type [org.springframework.cloud.stream.binder.BinderFactory]: Error creating bean with name 'binderFactory' defined in class path resource [org/springframework/cloud/stream/config/BinderFactoryConfiguration.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.springframework.cloud.stream.binder.BinderTypeRegistry]: Error creating bean with name 'binderTypeRegistry' defined in class path resource [org/springframework/cloud/stream/config/BinderFactoryConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.cloud.stream.binder.BinderTypeRegistry]: Factory method 'binderTypeRegistry' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Cannot create binder factory, no `META-INF/spring.binders` resources found on the classpath; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'binderTypeRegistry' defined in class path resource [org/springframework/cloud/stream/config/BinderFactoryConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.cloud.stream.binder.BinderTypeRegistry]: Factory method 'binderTypeRegistry' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Cannot create binder factory, no `META-INF/spring.binders` resources found on the classpath; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'binderFactory' defined in class path resource [org/springframework/cloud/stream/config/BinderFactoryConfiguration.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [org.springframework.cloud.stream.binder.BinderTypeRegistry]: Error creating bean with name 'binderTypeRegistry' defined in class path resource [org/springframework/cloud/stream/config/BinderFactoryConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.cloud.stream.binder.BinderTypeRegistry]: Factory method 'binderTypeRegistry' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Cannot create binder factory, no `META-INF/spring.binders` resources found on the classpath; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'binderTypeRegistry' defined in class path resource [org/springframework/cloud/stream/config/BinderFactoryConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.cloud.stream.binder.BinderTypeRegistry]: Factory method 'binderTypeRegistry' threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Cannot create binder factory, no `META-INF/spring.binders` resources found on the classpath
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-config-server</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-config-monitor</artifactId>
</dependency>
<!-- <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-starter-stream-rabbit</artifactId>
</dependency> -->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-bus-redis</artifactId>
<version>1.1.0.BUILD-SNAPSHOT</version>
</dependency>
Configserver build is broken.
I have discussed this problem here: spring-cloud/spring-cloud-release#44. It's still not resolved.
In the interests of providing an example that is easily replicatable for you, I decided to try one of the examples. Downloading the current code from this project fails to build with the following error:
$ mvn clean install -U
[INFO] Scanning for projects...
Downloading: http://repo.spring.io/libs-snapshot-local/org/springframework/cloud/spring-cloud-starter-parent/Brixton.BUILD-SNAPSHOT/maven-metadata.xml
Downloaded: http://repo.spring.io/libs-snapshot-local/org/springframework/cloud/spring-cloud-starter-parent/Brixton.BUILD-SNAPSHOT/maven-metadata.xml (812 B at 1.7 KB/sec)
Downloading: http://repo.spring.io/libs-snapshot-local/org/springframework/cloud/spring-cloud-dependencies/Brixton.BUILD-SNAPSHOT/maven-metadata.xml
Downloaded: http://repo.spring.io/libs-snapshot-local/org/springframework/cloud/spring-cloud-dependencies/Brixton.BUILD-SNAPSHOT/maven-metadata.xml (810 B at 6.5 KB/sec)
Downloading: http://repo.spring.io/libs-snapshot-local/org/springframework/cloud/spring-cloud-dependencies-parent/1.1.0.BUILD-SNAPSHOT/maven-metadata.xml
Downloaded: http://repo.spring.io/libs-snapshot-local/org/springframework/cloud/spring-cloud-dependencies-parent/1.1.0.BUILD-SNAPSHOT/maven-metadata.xml (811 B at 5.9 KB/sec)
Downloading: http://repo.spring.io/libs-snapshot-local/org/springframework/cloud/spring-cloud-dependencies-parent/1.1.0.BUILD-SNAPSHOT/spring-cloud-dependencies-parent-1.1.0.BUILD-20160308.163606-35.pom
Downloaded: http://repo.spring.io/libs-snapshot-local/org/springframework/cloud/spring-cloud-dependencies-parent/1.1.0.BUILD-SNAPSHOT/spring-cloud-dependencies-parent-1.1.0.BUILD-20160308.163606-35.pom (7 KB at 37.1 KB/sec)
Downloading: http://repo.maven.apache.org/maven2/org/springframework/cloud/spring-cloud-dependencies-parent/1.1.0.RC1/spring-cloud-dependencies-parent-1.1.0.RC1.pom
Downloading: http://repo.maven.apache.org/maven2/org/springframework/cloud/spring-cloud-build/1.1.0.RC1/spring-cloud-build-1.1.0.RC1.pom
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR] The project org.demo:configserver:0.0.1-SNAPSHOT (/Users/me/src/examples/springCloud/configserver/pom.xml) has 11 errors
[ERROR] Non-resolvable parent POM: Could not find artifact org.springframework.cloud:spring-cloud-dependencies-parent:pom:1.1.0.RC1 in central (http://repo.maven.apache.org/maven2) @ org.springframework.cloud:spring-cloud-stream-dependencies:1.0.0.BUILD-SNAPSHOT, /Users/me/.m2/repository/org/springframework/cloud/spring-cloud-stream-dependencies/1.0.0.BUILD-SNAPSHOT/spring-cloud-stream-dependencies-1.0.0.BUILD-SNAPSHOT.pom, line 4, column 10 -> [Help 2]
[ERROR] Non-resolvable parent POM: Could not find artifact org.springframework.cloud:spring-cloud-build:pom:1.1.0.RC1 in central (http://repo.maven.apache.org/maven2) @ org.springframework.cloud:spring-cloud-stream-parent:1.0.0.BUILD-SNAPSHOT, /Users/me/.m2/repository/org/springframework/cloud/spring-cloud-stream-parent/1.0.0.BUILD-SNAPSHOT/spring-cloud-stream-parent-1.0.0.BUILD-SNAPSHOT.pom, line 8, column 10 -> [Help 2]
[ERROR] Non-resolvable parent POM: Failure to find org.springframework.cloud:spring-cloud-build:pom:1.1.0.RC1 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced @ org.springframework.cloud:spring-cloud-stream-parent:1.0.0.BUILD-SNAPSHOT, /Users/me/.m2/repository/org/springframework/cloud/spring-cloud-stream-parent/1.0.0.BUILD-SNAPSHOT/spring-cloud-stream-parent-1.0.0.BUILD-SNAPSHOT.pom, line 8, column 10 -> [Help 2]
[ERROR] Non-resolvable parent POM: Failure to find org.springframework.cloud:spring-cloud-build:pom:1.1.0.RC1 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced @ org.springframework.cloud:spring-cloud-stream-parent:1.0.0.BUILD-SNAPSHOT, /Users/me/.m2/repository/org/springframework/cloud/spring-cloud-stream-parent/1.0.0.BUILD-SNAPSHOT/spring-cloud-stream-parent-1.0.0.BUILD-SNAPSHOT.pom, line 8, column 10 -> [Help 2]
[ERROR] Non-resolvable parent POM: Failure to find org.springframework.cloud:spring-cloud-build:pom:1.1.0.RC1 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced @ org.springframework.cloud:spring-cloud-stream-parent:1.0.0.BUILD-SNAPSHOT, /Users/me/.m2/repository/org/springframework/cloud/spring-cloud-stream-parent/1.0.0.BUILD-SNAPSHOT/spring-cloud-stream-parent-1.0.0.BUILD-SNAPSHOT.pom, line 8, column 10 -> [Help 2]
[ERROR] Non-resolvable parent POM: Failure to find org.springframework.cloud:spring-cloud-build:pom:1.1.0.RC1 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced @ org.springframework.cloud:spring-cloud-stream-parent:1.0.0.BUILD-SNAPSHOT, /Users/me/.m2/repository/org/springframework/cloud/spring-cloud-stream-parent/1.0.0.BUILD-SNAPSHOT/spring-cloud-stream-parent-1.0.0.BUILD-SNAPSHOT.pom, line 8, column 10 -> [Help 2]
[ERROR] Non-resolvable parent POM: Failure to find org.springframework.cloud:spring-cloud-dependencies-parent:pom:1.1.0.RC1 in http://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced @ org.springframework.cloud:spring-cloud-stream-dependencies:1.0.0.BUILD-SNAPSHOT, /Users/me/.m2/repository/org/springframework/cloud/spring-cloud-stream-dependencies/1.0.0.BUILD-SNAPSHOT/spring-cloud-stream-dependencies-1.0.0.BUILD-SNAPSHOT.pom, line 4, column 10 -> [Help 2]
[ERROR] 'dependencies.dependency.version' for org.springframework.cloud:spring-cloud-config-server:jar is missing. @ line 22, column 15
[ERROR] 'dependencies.dependency.version' for org.springframework.cloud:spring-cloud-config-monitor:jar is missing. @ line 26, column 15
[ERROR] 'dependencies.dependency.version' for org.springframework.cloud:spring-cloud-starter-stream-redis:jar is missing. @ line 30, column 15
[ERROR] 'dependencies.dependency.version' for org.springframework.cloud:spring-cloud-starter-eureka:jar is missing. @ line 34, column 15
[ERROR]
This was done with Maven 3.2.2, and I do not currently have a settings.xml file.
Not clear how Spring Cloud Stream is to be used
Hi, according to the documentation on Spring Cloud Config - Push Notifications, the way to configure this push notifications is through Spring Cloud Bus. This sample project seems to be using Spring Cloud Stream with Redis, but I can't find documentation as to how the Config Server works with Spring Cloud Stream. Would you please include that in the Readme of this project? Also, is there any Client sample project for this config server that uses Redis?
Thanks in advance
config server encryption by RSA keystore--Errors:No decryption for FailsafeTextEncryptor. Did you configure the keystore correctly?
mvn build error on bcprov-jdk15on
Hi,
I am getting error while trying to start project.
it can not found dependency http://repo.spring.io/libs-snapshot-local/org/bouncycastle/bcprov-jdk15on/1.47/bcprov-jdk15on-1.47.jar
I can work on and try to solve this problem
can you give me some advice?
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building Config Server 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] >>> spring-boot-maven-plugin:1.3.2.RELEASE:run (default-cli) @ configserver >>>
Downloading: http://repo.spring.io/libs-snapshot-local/org/bouncycastle/bcprov-jdk15on/1.47/bcprov-jdk15on-1.47.jar
Downloading: http://repo.maven.apache.org/maven2/org/bouncycastle/bcprov-jdk15on/1.47/bcprov-jdk15on-1.47.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.603s
[INFO] Finished at: Wed Feb 17 08:57:07 EET 2016
[INFO] Final Memory: 18M/209M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project configserver: Could not resolve dependencies for project org.demo:configserver:jar:0.0.1-SNAPSHOT: Could not transfer artifact org.bouncycastle:bcprov-jdk15on:jar:1.47 from/to spring-snapshots (http://repo.spring.io/libs-snapshot-local): Failed to transfer file: http://repo.spring.io/libs-snapshot-local/org/bouncycastle/bcprov-jdk15on/1.47/bcprov-jdk15on-1.47.jar. Return code is: 409 , ReasonPhrase:Conflict. -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project configserver: Could not resolve dependencies for project org.demo:configserver:jar:0.0.1-SNAPSHOT: Could not transfer artifact org.bouncycastle:bcprov-jdk15on:jar:1.47 from/to spring-snapshots (http://repo.spring.io/libs-snapshot-local): Failed to transfer file: http://repo.spring.io/libs-snapshot-local/org/bouncycastle/bcprov-jdk15on/1.47/bcprov-jdk15on-1.47.jar. Return code is: 409 , ReasonPhrase:Conflict.
at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:210)
at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.resolveProjectDependencies(LifecycleDependencyResolver.java:117)
at org.apache.maven.lifecycle.internal.MojoExecutor.ensureDependenciesAreResolved(MojoExecutor.java:258)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:201)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.MojoExecutor.executeForkedExecutions(MojoExecutor.java:365)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:199)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
at org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.project.DependencyResolutionException: Could not resolve dependencies for project org.demo:configserver:jar:0.0.1-SNAPSHOT: Could not transfer artifact org.bouncycastle:bcprov-jdk15on:jar:1.47 from/to spring-snapshots (http://repo.spring.io/libs-snapshot-local): Failed to transfer file: http://repo.spring.io/libs-snapshot-local/org/bouncycastle/bcprov-jdk15on/1.47/bcprov-jdk15on-1.47.jar. Return code is: 409 , ReasonPhrase:Conflict.
at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:189)
at org.apache.maven.lifecycle.internal.LifecycleDependencyResolver.getDependencies(LifecycleDependencyResolver.java:185)
... 26 more
Caused by: org.sonatype.aether.resolution.DependencyResolutionException: Could not transfer artifact org.bouncycastle:bcprov-jdk15on:jar:1.47 from/to spring-snapshots (http://repo.spring.io/libs-snapshot-local): Failed to transfer file: http://repo.spring.io/libs-snapshot-local/org/bouncycastle/bcprov-jdk15on/1.47/bcprov-jdk15on-1.47.jar. Return code is: 409 , ReasonPhrase:Conflict.
at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:375)
at org.apache.maven.project.DefaultProjectDependenciesResolver.resolve(DefaultProjectDependenciesResolver.java:183)
... 27 more
Caused by: org.sonatype.aether.resolution.ArtifactResolutionException: Could not transfer artifact org.bouncycastle:bcprov-jdk15on:jar:1.47 from/to spring-snapshots (http://repo.spring.io/libs-snapshot-local): Failed to transfer file: http://repo.spring.io/libs-snapshot-local/org/bouncycastle/bcprov-jdk15on/1.47/bcprov-jdk15on-1.47.jar. Return code is: 409 , ReasonPhrase:Conflict.
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:538)
at org.sonatype.aether.impl.internal.DefaultArtifactResolver.resolveArtifacts(DefaultArtifactResolver.java:216)
at org.sonatype.aether.impl.internal.DefaultRepositorySystem.resolveDependencies(DefaultRepositorySystem.java:358)
... 28 more
Caused by: org.sonatype.aether.transfer.ArtifactTransferException: Could not transfer artifact org.bouncycastle:bcprov-jdk15on:jar:1.47 from/to spring-snapshots (http://repo.spring.io/libs-snapshot-local): Failed to transfer file: http://repo.spring.io/libs-snapshot-local/org/bouncycastle/bcprov-jdk15on/1.47/bcprov-jdk15on-1.47.jar. Return code is: 409 , ReasonPhrase:Conflict.
at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:951)
at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$4.wrap(WagonRepositoryConnector.java:939)
at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:669)
at org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:60)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.maven.wagon.TransferFailedException: Failed to transfer file: http://repo.spring.io/libs-snapshot-local/org/bouncycastle/bcprov-jdk15on/1.47/bcprov-jdk15on-1.47.jar. Return code is: 409 , ReasonPhrase:Conflict.
at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:945)
at org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116)
at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)
at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)
at org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:601)
... 4 more
[ERROR]
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException
Config server does not reload configuration
Hi there,
I tried configuring the server without Redis and Monitoring...
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-config-server</artifactId>
</dependency>
<!--dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-config-monitor</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-stream-redis</artifactId>
</dependency-->
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-eureka</artifactId>
</dependency>
However, any changes to the GitHub configuration repository was not picked up by the server...
Questions
- Is it possible to run the server without Redis?
- Leaving the monitor settings uncommented, the server cannot start. Is this only used by Redis?
- How to configure a webhook in GitHub? Is this http://cloud.spring.io/spring-cloud-config/spring-cloud-config.html#_push_notifications_and_spring_cloud_bus automatically done by the config server?
How can I use spring-boot-starter-security to config configserver?
First of all,I use springboot 2.1.0.RELEASE and springcloud Finchley.SR1 . According to Finchley.SR1 document,I add dependency spring-boot-starter-security and set spring.security.user.password .
but,I can visit configServer,I can't get the authentication Page .
not secured?
Hi,
I have cloned the project and started the service. But it is not secured per default (no http basic auth). But it is described in the README.md that this server is secured per default.
How can I enable the basic authentification (the bset would be only for the /admin mapping)?
Thanks
can not find the latest config from svn
can not find the latest config from svn, but the /tmp/config-repo have the config file, if you delete the config-repo- , you can fetch the latest config immediately. how to solve this problem. think you very much, best wishes!
Config Server fails to start
I am getting this error on startup
2014-11-10 20:50:13.463 INFO 59950 --- [ost-startStop-1] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: OrRequestMatcher [requestMatchers=[Ant [pattern='/admin/beans'], Ant [pattern='/admin/beans/'], Ant [pattern='/admin/beans.*'], Ant [pattern='/admin/refresh'], Ant [pattern='/admin/refresh/'], Ant [pattern='/admin/refresh.*'], Ant [pattern='/admin/pause'], Ant [pattern='/admin/pause/'], Ant [pattern='/admin/pause.*'], Ant [pattern='/admin/archaius'], Ant [pattern='/admin/archaius/'], Ant [pattern='/admin/archaius.*'], Ant [pattern='/admin/dump'], Ant [pattern='/admin/dump/'], Ant [pattern='/admin/dump.*'], Ant [pattern='/admin/configprops'], Ant [pattern='/admin/configprops/'], Ant [pattern='/admin/configprops.*'], Ant [pattern='/admin/autoconfig'], Ant [pattern='/admin/autoconfig/'], Ant [pattern='/admin/autoconfig.*'], Ant [pattern='/admin/metrics'], Ant [pattern='/admin/metrics/'], Ant [pattern='/admin/metrics.*'], Ant [pattern='/admin/env'], Ant [pattern='/admin/env/'], Ant [pattern='/admin/env.*'], Ant [pattern='/admin/mappings'], Ant [pattern='/admin/mappings/'], Ant [pattern='/admin/mappings.*'], Ant [pattern='/admin/env'], Ant [pattern='/admin/env/'], Ant [pattern='/admin/env.*'], Ant [pattern='/admin/trace'], Ant [pattern='/admin/trace/'], Ant [pattern='/admin/trace.*'], Ant [pattern='/admin/resume'], Ant [pattern='/admin/resume/'], Ant [pattern='/admin/resume.*'], Ant [pattern='/admin/restart'], Ant [pattern='/admin/restart/'], Ant [pattern='/admin/restart.*']]], [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@5620cf50, org.springframework.security.web.context.SecurityContextPersistenceFilter@76459b4a, org.springframework.security.web.header.HeaderWriterFilter@4ab1f58a, org.springframework.security.web.authentication.logout.LogoutFilter@49c237ca, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@591572ff, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@7043c62c, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@23fe533, org.springframework.security.web.session.SessionManagementFilter@28ee31cd, org.springframework.security.web.access.ExceptionTranslationFilter@6e8e4b0b, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@16d2f5bf]
2014-11-10 20:50:13.476 INFO 59950 --- [ost-startStop-1] o.s.s.web.DefaultSecurityFilterChain : Creating filter chain: OrRequestMatcher [requestMatchers=[Ant [pattern='/**']]], [org.springframework.security.web.context.request.async.WebAsyncManagerIntegrationFilter@655dc8c, org.springframework.security.web.context.SecurityContextPersistenceFilter@35697bbd, org.springframework.security.web.header.HeaderWriterFilter@6569f8e2, org.springframework.security.web.authentication.logout.LogoutFilter@2203a0f2, org.springframework.security.web.authentication.www.BasicAuthenticationFilter@1c3b8150, org.springframework.security.web.savedrequest.RequestCacheAwareFilter@203ad0b0, org.springframework.security.web.servletapi.SecurityContextHolderAwareRequestFilter@755ae357, org.springframework.security.web.authentication.AnonymousAuthenticationFilter@6f026e93, org.springframework.security.web.session.SessionManagementFilter@1052f172, org.springframework.security.web.access.ExceptionTranslationFilter@530ababd, org.springframework.security.web.access.intercept.FilterSecurityInterceptor@6ed780fe]
2014-11-10 20:50:13.666 INFO 59950 --- [ost-startStop-1] o.s.b.c.e.ServletRegistrationBean : Mapping servlet: 'dispatcherServlet' to [/]
2014-11-10 20:50:13.676 ERROR 59950 --- [cat-startStop-1] org.apache.catalina.core.ContainerBase : A child container failed during start
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost].StandardContext[]]
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:188)
at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:1123)
at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:816)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1575)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1565)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Tomcat].StandardHost[localhost].StandardContext[]]
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:154)
... 6 common frames omitted
Caused by: java.lang.NoSuchMethodError: javax.servlet.ServletContext.addServlet(Ljava/lang/String;Ljavax/servlet/Servlet;)Ljavax/servlet/ServletRegistration$Dynamic;
at org.springframework.boot.context.embedded.ServletRegistrationBean.onStartup(ServletRegistrationBean.java:166)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext$1.onStartup(EmbeddedWebApplicationContext.java:203)
at org.springframework.boot.context.embedded.tomcat.ServletContextInitializerLifecycleListener.lifecycleEvent(ServletContextInitializerLifecycleListener.java:64)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:117)
at org.apache.catalina.util.LifecycleBase.fireLifecycleEvent(LifecycleBase.java:90)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5378)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
... 6 common frames omitted
build.gradle for this project
Hi there,
We have been using only gradle in our environment... Is it possible to include a build.gradle?
thanks!
The import org.springframework.cloud.client.discovery.EnableDiscoveryClient cannot be resolved
when i clone this repo, i get the following error in ConfigServerApplication.java
The import org.springframework.cloud.client.discovery.EnableDiscoveryClient cannot be resolved
Unable to build this project.
I am unable to build this project as the POM refers to parent pom which does not exist. Can we have one which build and runs.
Update to latest spring cloud
Fix the last line of README.md
Hello, the last line of the readme is a nonsense, it's a password but has a java command in it:
$ KEYSTORE_PASSWORD=foobar java -jar target/*.jar
https://github.com/spring-cloud-samples/configserver/blob/master/README.md
Cheers.
Unknown user/password
Hi,
I started the example as noted by running mvn spring-boot:run
. The server starts and is reachable on port 8888.
When pointing my browser to http://localhost:8888 it asks for a user and password but I'm unable to detect which data to use here.
Maybe it is useful to document the user/pw combination in the README.
Fails to start with JDK 11: java.lang.ClassNotFoundException: javax.xml.bind.ValidationException
How to reproduce:
- clone
./mvnw spring-boot:run
Result:
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.springframework.boot.maven.AbstractRunMojo$LaunchRunner.run(AbstractRunMojo.java:506)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'encryptionBootstrapConfiguration': Unsatisfied dependency expressed through field 'encryptor'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.cloud.bootstrap.encrypt.EncryptionBootstrapConfiguration$RsaEncryptionConfiguration': Unsatisfied dependency expressed through field 'key'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encrypt-org.springframework.cloud.bootstrap.encrypt.KeyProperties': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:569)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:349)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1219)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:751)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:861)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:541)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:134)
at org.springframework.cloud.bootstrap.BootstrapApplicationListener.bootstrapServiceContext(BootstrapApplicationListener.java:175)
at org.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent(BootstrapApplicationListener.java:98)
at org.springframework.cloud.bootstrap.BootstrapApplicationListener.onApplicationEvent(BootstrapApplicationListener.java:64)
at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:166)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:138)
at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:121)
at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:68)
at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:54)
at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:337)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:308)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1186)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1175)
at demo.ConfigServerApplication.main(ConfigServerApplication.java:16)
... 6 more
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.cloud.bootstrap.encrypt.EncryptionBootstrapConfiguration$RsaEncryptionConfiguration': Unsatisfied dependency expressed through field 'key'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encrypt-org.springframework.cloud.bootstrap.encrypt.KeyProperties': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:569)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:349)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1219)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:372)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1128)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1023)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:207)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1128)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1056)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:566)
... 35 more
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'encrypt-org.springframework.cloud.bootstrap.encrypt.KeyProperties': Initialization of bean failed; nested exception is java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:207)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1128)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1056)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:566)
... 57 more
Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/ValidationException
at org.hibernate.validator.internal.engine.ConfigurationImpl.<init>(ConfigurationImpl.java:129)
at org.hibernate.validator.internal.engine.ConfigurationImpl.<init>(ConfigurationImpl.java:96)
at org.hibernate.validator.HibernateValidator.createGenericConfiguration(HibernateValidator.java:31)
at javax.validation.Validation$GenericBootstrapImpl.configure(Validation.java:276)
at org.springframework.validation.beanvalidation.LocalValidatorFactoryBean.afterPropertiesSet(LocalValidatorFactoryBean.java:248)
at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor$LocalValidatorFactory.run(ConfigurationPropertiesBindingPostProcessor.java:452)
at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.getValidator(ConfigurationPropertiesBindingPostProcessor.java:386)
at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.determineValidator(ConfigurationPropertiesBindingPostProcessor.java:369)
at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.postProcessBeforeInitialization(ConfigurationPropertiesBindingPostProcessor.java:331)
at org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor.postProcessBeforeInitialization(ConfigurationPropertiesBindingPostProcessor.java:302)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:408)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1575)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:545)
... 66 more
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.ValidationException
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:471)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:588)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
... 79 more
Cannot start configserver as a servlet
on the attempt to deploy this into aws elastic beanstalk
it seems the webapp does not get started
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.