Comments (12)
I have now released SCS Starters 2.0.0.RC1 and believe this is issue is now resolved
from spring-cloud-services-starters.
Hi can you please provide a formatted stacktrace? Please also confirm whether error occurs outside of Cloud Foundry
from spring-cloud-services-starters.
Thanks for prompt reply.
The error stack trace is attached here.
The error is occurring on my local STS as well as in PCF environment.
error.log
from spring-cloud-services-starters.
Very easy to repeat - create starter Spring boot app with eureka and web, 2.0.1 for spring boot and 2.0.0.M1 for spring cloud services and try to build/run, you'll get the stack error
from spring-cloud-services-starters.
error.log
updated logs from DEBUG mode.
from spring-cloud-services-starters.
I have exactly the same problem using :
<spring-cloud-services.version>2.0.0.M1</spring-cloud-services.version>
<spring-cloud.version>Finchley.M9</spring-cloud.version>
Any advice in order to fix that problem ?
Edit : i was able to fix the problem by removing depency :
<dependency>
<groupId>io.pivotal.spring.cloud</groupId>
<artifactId>spring-cloud-services-starter-service-registry</artifactId>
</dependency>
but i want to use the service discovery ...
from spring-cloud-services-starters.
Hi, apologies this isn't resolved yet, it's top of my list to look at.
Some findings FYI:
- This works with gradle, not maven.
- Adding Eureka-server to the POM fixes it
from spring-cloud-services-starters.
thanks for updates.
Currently using starter-service-registry in current project to use PCF service registry service.
from spring-cloud-services-starters.
Thx for update.
A working workaround i've just found is :
`
<dependency>
<groupId>io.pivotal.spring.cloud</groupId>
<artifactId>spring-cloud-services-starter-service-registry</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-netflix-eureka-server</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.security.oauth.boot</groupId>
<artifactId>spring-security-oauth2-autoconfigure</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.retry</groupId>
<artifactId>spring-retry</artifactId>
</dependency>
`
using :
<spring-cloud-services.version>2.0.0.M1</spring-cloud-services.version>
<spring-cloud.version>Finchley.M9</spring-cloud.version>
from spring-cloud-services-starters.
workaround does not seem to be working when using with
io.pivotal.spring.cloud
spring-cloud-services-cloudfoundry-connector
from spring-cloud-services-starters.
I have narrowed this down further, the build seems to require spring-boot-starter-actuator
. Can you test and report back please?
from spring-cloud-services-starters.
I have same problem with following error message
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution generate-qtypes of goal com.querydsl:querydsl-maven-plugin:4.0.9:jpa-export failed: sun.reflect.annotation.TypeNotPresentExceptionProxy
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:115)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
... 19 more
Caused by: java.lang.ArrayStoreException: sun.reflect.annotation.TypeNotPresentExceptionProxy
at sun.reflect.annotation.AnnotationParser.parseClassArray(AnnotationParser.java:724)
at sun.reflect.annotation.AnnotationParser.parseArray(AnnotationParser.java:531)
at sun.reflect.annotation.AnnotationParser.parseMemberValue(AnnotationParser.java:355)
at sun.reflect.annotation.AnnotationParser.parseAnnotation2(AnnotationParser.java:286)
at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:120)
at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:72)
at java.lang.Class.createAnnotationData(Class.java:3521)
at java.lang.Class.annotationData(Class.java:3510)
at java.lang.Class.getAnnotation(Class.java:3415)
at java.lang.reflect.AnnotatedElement.isAnnotationPresent(AnnotatedElement.java:258)
at java.lang.Class.isAnnotationPresent(Class.java:3425)
at com.querydsl.codegen.GenericExporter.handleClass(GenericExporter.java:513)
at com.querydsl.codegen.GenericExporter.scanPackages(GenericExporter.java:504)
at com.querydsl.codegen.GenericExporter.export(GenericExporter.java:188)
at com.querydsl.maven.AbstractExporterMojo.execute(AbstractExporterMojo.java:162)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:106)
... 20 more
from spring-cloud-services-starters.
Related Issues (20)
- spring-cloud-services-starter-circuit-breaker 2.3.0 depends on a SNAPSHOT HOT 2
- actuator/refresh doesn't work with 3.2.1 HOT 1
- Create scs-starters' own ci image
- Upgrade concourse-release-scripts jar
- Migrate 2.4.x pipeline
- Bump to Spring Boot 2.5.x
- Release 3.3.0 HOT 1
- Ensure that nohttp and checkstyle plugins are applied in CI
- Security issues in 3.3.0 HOT 4
- What is the timeline for supporting Spring Boot 2.6.x?
- `OAuth2DiscoveryClientOptionalArgs` must be defined before other `DiscoveryClientOptionalArgs`
- Applications with multiple routes have no way of configuring a route that's registered HOT 1
- Eureka won't connect when run jhipster-registery in docker with cloud config server
- Unable to use spring-cloud-services-dependencies v3.5.1 HOT 2
- What to do with spring-cloud-services-starter-config-client? HOT 2
- Maven POM for spring-cloud-services-starter-config-client version 3.5.1 is invalid HOT 2
- Pivotal Spring Cloud Services Dependencies v3.5.0 - 401 - Unauthorized Error - when communicating with Config Server HOT 15
- OAuth2 properties are not present. HOT 1
- Legacy bootstrap fails with 401 response from the config-server. HOT 1
- Spring Cloud Config Services Starter should support configuring requested scopes
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-cloud-services-starters.