Comments (7)
I'm not sure why that means the "problem is bigger than this". The jar file is invalid. Let's see if someone can fix it, then we can decide.
from gs-consuming-web-service.
from genJaxb.classesDir
is adding the classes to the root of the jar. It is redundant and can be removed.
from gs-consuming-web-service.
Works for me. Did you run the service from the "producing" guide as a separate process?
from gs-consuming-web-service.
Yes I ran the service. I build it with gradle btw.
Another note: It works with ./gradlew bootRun
from gs-consuming-web-service.
There's a bug in the jar - the generated JAXB classes are included in the root by mistake (as well as in BOOT-INF/classes where they are needed). I'm not sure how to fix that. Any Gradlers out there?
from gs-consuming-web-service.
I think problem is bigger than this. I created a project with gradle then I followed this guide to consume a SOAP service. When I run it with ./gradlew bootRun everything works perfect. But if I build it with gradle and run it with "java -jar" Spring throws another exception. The problem is that I don't know where to post this issue :)
from gs-consuming-web-service.
Thanks Andy!!
from gs-consuming-web-service.
Related Issues (20)
- Does not build with jdk 11 HOT 18
- Documentation using with java 11 HOT 4
- This doesn't work (with java 8 at least) HOT 12
- Published guide has empty code blocks
- Sample doesn't run under Java 11
- NullPointerException when trying to compile with Gradle HOT 3
- JAXB-API cannot be found even if I added the dependency in pom.xml HOT 7
- Question about authentication. HOT 1
- Documentation links HOT 3
- Multiple SOAP operations in same wsdl
- Upgrade to a newer version of jaxb-xjc HOT 7
- JAXB-API error when running with gradle bootRun HOT 3
- Updated examples and guides from Spring Framework 6 and jakarta classes? HOT 4
- java.lang.ClassNotFoundException: org.glassfish.jaxb.runtime.v2.ContextFactory HOT 2
- maven-jaxb2-plugin not generaing all classes - requests and responses for WSDL HOT 1
- XML Exception with Java-WS
- Old parameter name in the CommandLineRunner HOT 1
- Update Spring Boot version HOT 2
- Unknown jaxb exception
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 gs-consuming-web-service.