user1610446
user1610446

Reputation: 31

Maven dependency identically with the NuGet package

One of my functions in my function app is throwing an exception after it is upgraded to run on Java runtime 11.

The function works as designed, and completes the whole flow it is built to.

Error building configuration in an external startup class. One or more loaded extensions do not meet the minimum requirements. For more information see https://aka.ms/func-min-extension-versions.
ExtensionStartupType AzureStorageWebJobsStartup from assembly 'Microsoft.Azure.WebJobs.Extensions.Storage, Version=3.0.4.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' does not meet the required minimum version of 4.0.4.0. Update your NuGet package reference for Microsoft.Azure.WebJobs.Extensions.Storage to 4.0.4 or later.

The exception is not occurring consistently.

It is a Java project built with Maven and all necessary dependency is updated to the latest

version.
        <dependency>
            <groupId>com.microsoft.azure.functions</groupId>
            <artifactId>azure-functions-java-library</artifactId>
            <version>3.1.0</version>
        </dependency>

Since the exception contains the following message Maven dependency is identically with the NuGet package reference for Microsoft.Azure.WebJobs.Extensions.Storage to 4.0.4.

I have already tried with the following maven dependency since it is a Java Project,

   <!-- https://mvnrepository.com/artifact/com.microsoft.azure/azure-storage -->
    <dependency>
        <groupId>com.microsoft.azure</groupId>
        <artifactId>azure-storage</artifactId>
        <version>5.1.0</version>
    </dependency>

But it results in error 500 internal server error:

Upvotes: 0

Views: 23

Answers (0)

Related Questions