Comments (4)
Hi, Thank you very much for your help. I successfully run it. Thanks again.
from steady.
Hi @momo-tong ,
this error usually happens when the application coordinates
vulas.core.appContext.group = <GROUP>
, vulas.core.appContext.artifact = <ARTIFACT>
, vulas.core.appContext.version = <VERSION>
are not provided in the steady-custom.properties configuration.
Also note that the dependencies are distinguished from application code based on the configuration of
vulas.core.app.appPrefixes =
and vulas.core.app.appJarNames =
.
See #542 for a similar issue and tutorial.
from steady.
Hi
Thank for your reply. I want to analyze spring-boot-security-saml-sample-2.0.0.RELEASE jar. Basically got the same error that tried the following configurations. By the way, pom.xml in the jar haves tag, doesn't that matter?
# parent tag in pom.xml of spring-boot-security-saml-sample-2.0.0.RELEASE jar
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.1.1.RELEASE</version>
</parent>
#ERROR INFO
2023-02-21 11:13:46,173 [main] [INFO ] shared.util.VulasConfiguration - vulas.shared.sys=[os., java., runtime., maven., sun.]
2023-02-21 11:13:46,175 [main] [INFO ] shared.util.VulasConfiguration - vulas.shared.version=3.2.4
2023-02-21 11:13:46,182 [main] [ERROR] e.steady.shared.util.StopWatch - [045914] [00.309 ms] Failed: Application context is required to execute goal [APP]
Exception in thread "main" org.eclipse.steady.goals.GoalConfigurationException: Application context is required to execute goal [APP]
at org.eclipse.steady.goals.AbstractAppGoal.prepareExecution(AbstractAppGoal.java:108)
at org.eclipse.steady.goals.BomGoal.prepareExecution(BomGoal.java:57)
at org.eclipse.steady.goals.AbstractGoal.start(AbstractGoal.java:419)
at org.eclipse.steady.goals.AbstractGoal.execute(AbstractGoal.java:254)
at org.eclipse.steady.goals.AbstractGoal.executeSync(AbstractGoal.java:248)
at org.eclipse.steady.cli.VulasCli.main(VulasCli.java:99)
#the first configuration
vulas.core.appContext.group = com.vdenotaris.spring
vulas.core.appContext.artifact = spring-boot-security-saml-sample
vulas.core.appContext.version = 2.0.0.RELEASE
vulas.core.app.appPrefixes = com.vdenotaris.spring.boot.security.saml
#the second configuration
vulas.core.appContext.group = com.vdenotaris.spring
vulas.core.appContext.artifact = spring-boot-security-saml-sample
vulas.core.appContext.version = 2.0.0.RELEASE
vulas.core.app.appJarNames = spring-boot-security-saml-sample
#the third configuration
vulas.core.appContext.group = com.vdenotaris.spring
vulas.core.appContext.artifact = spring-boot-security-saml-sample
vulas.core.appContext.version = 2.0.0.RELEASE
vulas.core.app.appPrefixes = spring-boot-security-saml
from steady.
When using the cli the pom.xml is not read, that's why information like the application context has to be provided in the steady-custom.properties
configuration file.
From the stacktrace it looks like the configuration file is not read. The configuration file has to be named steady-custom.properties
without any additional extension and the .sample present in the file provided in the zip archive has to be removed.
The first configuration you provided looks good to me (assuming that the code inside the spring-boot-security-saml-sample uses has package name com.vdenotaris.spring.boot.security.saml
).
from steady.
Related Issues (20)
- Issues in installing Eclipse steady HOT 2
- Default JSON view breaks the mitigation tab HOT 2
- how can I see/get the AST of a vulnerability HOT 2
- Problems of steady 3.2.0, 3.2.1, 3.2.3 HOT 1
- Problem of steady 3.2.4 HOT 1
- Problems of 3.2.1 and 3.2.5 HOT 2
- eady.shared.util.MemoryMonitor - Memory consumption HOT 1
- Steady maven plugin is throwing UnsupportedOperationException HOT 3
- how can I delete software item in Eclipse Steady Web Frontend HOT 2
- Some issues regarding the running mode of the Steady database HOT 1
- Steady's vulnerability reports for the com.fasterxml.jackson.core:jackson-databind 2.0.0, 2.6.5, and 2.8.0 projects are completely identical. HOT 3
- Reachable from app (a2c) Fails With Java 17 HOT 9
- how to get potentially or actually executable of vuln. code when scan source code? HOT 3
- Where is the output result of Static Analysis: Potential execution of vulnerable code HOT 1
- How to run dynamic analysis successfully HOT 2
- Publish `rest-lib-utils` to mvn repository HOT 3
- Entry point a2c HOT 9
- The backend is in maintenance mode. Please come back later. HOT 2
- All constructs of an application are set as entry points in A2C goal HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from steady.