Unable to update local machine Java function from V2 to V3
See original GitHub issueIs your question related to a specific version? If so, please specify:
V3
What language does your question apply to? (e.g. C#, JavaScript, Java, All)
Java
Question
I am unable to switch my Function Runtime Version to 3.X from version 2. I followed all recommendations in https://docs.microsoft.com/en-us/azure/azure-functions/functions-versions#migrating-from-2x-to-3x
to update my function
Here’s my setting in pom.xml
<plugin>
<groupId>com.microsoft.azure</groupId>
<artifactId>azure-functions-maven-plugin</artifactId>
<configuration>
<resourceGroup>${functionResourceGroup}</resourceGroup>
<appName>${functionAppName}</appName>
<region>${functionAppRegion}</region>
<appSettings>
<!-- Run Azure Function from package file by default -->
<property>
<name>WEBSITE_RUN_FROM_PACKAGE</name>
<value>1</value>
</property>
<property>
<name>FUNCTIONS_EXTENSION_VERSION</name>
<value>~3</value>
</property>
</appSettings>
</configuration>
<executions>
<execution>
<id>package-functions</id>
<goals>
<goal>package</goal>
</goals>
</execution>
</executions>
</plugin>
(As a side note I can get this to work in .NET Core, but my project must be in Java)
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Azure Function in Java does not work locally
I started receiving this error after installing the latest versions of IDEA IntelliJ w/ Azure Toolkit for IntelliJ plugin, & Azure Core Tools...
Read more >Azure function app upgrade, function V4 ...
This blog will talk about some common issues you may meet when you try to upgrade your Azure function from older runtime version...
Read more >What is Java Auto Update? How do I change notify settings?
From the Java Control Panel Update tab, you can manually check for an update any time by clicking on the Update Now button...
Read more >Troubleshooting errors in AWS Glue for Spark
It's possible to update Java without updating this variable, and if it points to a folder that no longer exists, Jupyter notebooks fail...
Read more >Consolidated JDK 8 Release Notes
Commands from a removed "java" or "javac" group are now unavailable for system Java switch, which potentially changes the current system Java without...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
You might have installed azure-functions-core-tools through a different way first? Can you try finding where it’s installed by running
where func
on Windows orwhich func
on Mac?I removed the chocolatey reference and it fixed, thanks for the help!