Giter Club home page Giter Club logo

Comments (7)

dsyer avatar dsyer commented on August 14, 2024 1

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.

wilkinsona avatar wilkinsona commented on August 14, 2024 1

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.

dsyer avatar dsyer commented on August 14, 2024

Works for me. Did you run the service from the "producing" guide as a separate process?

from gs-consuming-web-service.

molgun avatar molgun commented on August 14, 2024

Yes I ran the service. I build it with gradle btw.

Another note: It works with ./gradlew bootRun

from gs-consuming-web-service.

dsyer avatar dsyer commented on August 14, 2024

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.

molgun avatar molgun commented on August 14, 2024

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.

molgun avatar molgun commented on August 14, 2024

Thanks Andy!!

from gs-consuming-web-service.

Related Issues (20)

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.