Giter VIP home page Giter VIP logo

Comments (5)

jdneo avatar jdneo commented on May 14, 2024

Just released a hot fix for this.

Here is the solution for any user who encountered this problem:

  • set the version of azure-functions-java-core to 1.0.0-beta-2.
  • set the version of azure-functions-maven-plugin to 0.2.1.

from azure-maven-plugins.

maadtechie avatar maadtechie commented on May 14, 2024

Just tried to create Azure function with Java and Maven.
expected mvn clean package to succeed
got such error:

[ERROR] Failed to execute goal com.microsoft.azure:azure-functions-maven-plugin:0.2.1:package (package-functions) on project iothubsuperpoc.functions: Execution package-functions of goal com.microsoft.azure:azure-functions-maven-plugin:0.2.1:package failed: A required class was missing while executing com.microsoft.azure:azure-functions-maven-plugin:0.2.1:package: javax/xml/bind/JAXBException

In pom.xml I see that:

  • azure-functions-java-core is 1.0.0-beta-2
  • azure-functions-maven-plugin is 0.2.1

Apache Maven 3.5.3
Java version: 10.0.1, vendor: Oracle Corporation
Java home: C:\Program Files\Java\jdk-10.0.1
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

from azure-maven-plugins.

jdneo avatar jdneo commented on May 14, 2024

@maadtechie Currently the Maven plugin only support Java 8.

from azure-maven-plugins.

nicenemo avatar nicenemo commented on May 14, 2024

@jdneo Any plans to support Java 11? Java 8 is going the way of the dodo soon.

from azure-maven-plugins.

jdneo avatar jdneo commented on May 14, 2024

@nicenemo Not yet. The reason is that one of the plugin's dependency only supports on Java 8. We have created an issue at their repo but they will not support Java 9, 10, 11 very soon.

More details are here: microsoft/ApplicationInsights-Java#674

from azure-maven-plugins.

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.