Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A required class was missing while executing azure-functions-maven-plugin:0.1.10:package #91

Closed
JunyiYi opened this issue Mar 1, 2018 · 1 comment

Comments

@JunyiYi
Copy link

JunyiYi commented Mar 1, 2018

Plugin name and version

azure-functions-maven-plugin

Plugin configuration in your pom.xml

<plugin>
  <groupId>com.microsoft.azure</groupId>
  <artifactId>azure-functions-maven-plugin</artifactId>
  <configuration>
    <resourceGroup>java-functions-group</resourceGroup>
    <appName>${functionAppName}</appName>
    <region>${functionAppRegion}</region>
    <appSettings>
      <property>
        <name>FUNCTIONS_EXTENSION_VERSION</name>
        <value>beta</value>
      </property>
    </appSettings>
  </configuration>
  <executions>
    <execution>
      <id>package-functions</id>
      <goals>
        <goal>package</goal>
      </goals>
    </execution>
  </executions>
</plugin>

Expected behavior

Build Succeeded.

Actual behavior

Build Failed.

Steps to reproduce the problem

I'm facing the error A required class was missing while executing com.microsoft.azure:azure-functions-maven-plugin:0.1.10:package: org/springframework/context/ApplicationContext when using Spring framework in my functions.

Reproducer.zip
The error happens on mvn clean package and seems to be related to class scanning for annotations.

A reproducer is attached.

Full log bellow:
Reproducer.zip

@damadei
Copy link

damadei commented Mar 1, 2018

I believe we can close this one as this is the same as #90. I opened in the wrong place.

@JunyiYi JunyiYi closed this as completed Mar 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants