You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in my project i want to add a springboot project
so i installed CommunityToolkit.Aspire.Hosting.Java NuGet\Install-Package CommunityToolkit.Aspire.Hosting.Java -Version 8.2.1
but i have this error
Argument 3: cannot convert from 'Aspire.Hosting.ApplicationModel.JavaAppExecutableResourceOptions' to 'Aspire.Hosting.ApplicationModel.JavaAppContainerResourceOptions'
this the code that causes the error
var executableapp = builder.AddSpringApp("executableapp",
new JavaAppExecutableResourceOptions()
{
ApplicationName = "target/app.jar",
OtelAgentPath = "../../../agents"
})
.WithEnvironment("DB_HOST","127.0.0.1");
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
in my project i want to add a springboot project
so i installed CommunityToolkit.Aspire.Hosting.Java
NuGet\Install-Package CommunityToolkit.Aspire.Hosting.Java -Version 8.2.1
but i have this error
this the code that causes the error
Beta Was this translation helpful? Give feedback.
All reactions