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

Unable to run gauge spec in intelliJ(IDE information-IntelliJ IDEA 2019.2.3 - Ultimate Edition) #2391

Open
udaysai02 opened this issue Aug 3, 2023 · 0 comments

Comments

@udaysai02
Copy link

I am able run the gauge spec from command prompt. But when I tried to run the spec through intelliJ (IDE information-IntelliJ IDEA 2019.2.3 - Ultimate Edition) with its gauge plugin (Gauge IntelliJ Plugin version - 0.3.21), I am getting this below error. I tried with differnt Gauge IntelliJ Plugin version's but still it's giving me the same error.

# Error from Intellij IDEA terminal:

============================================================

[Error Message: org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [applicationContext-suite.xml]; nested exception is java.io.FileNotFoundException: class path resource [applicationContext-suite.xml] cannot be opened because it does not exist

Stacktrace:

org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:342)

org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:310)

org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:196)

org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:232)

org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:203)

org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:265)

org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:128)

org.springframework.context.support.AbstractXmlApplicationContext.loadBeanDefinitions(AbstractXmlApplicationContext.java:94)

org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:130)

org.springframework.context.support.AbstractApplicationContext.obtainFreshBeanFactory(AbstractApplicationContext.java:671)

org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:553)

org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:144)

org.springframework.context.support.ClassPathXmlApplicationContext.<init>(ClassPathXmlApplicationContext.java:85)

com.vue.publisher.ContextLoader.migration.SpringInitializerHook.before(SpringInitializerHook.java:39)

Successfully generated html-report to => ...

Successfully generated xml-report to => ...

OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=256m; support was removed in 8.0

Specifications: 0 executed 0 passed 0 failed 0 skipped

Scenarios: 0 executed 0 passed 0 failed 0 skipped

Total time taken: 880ms

Updates are available. Run `gauge update -c` for more info.]

=================================================================

# Command prompt successfully runs the specs with following config:

-----------------------------------------------------------------

Operating System information- Windows 10

Java version- Amazon correto 8

Gauge version: 1.4.3 (Commit Hash: f98dd40)

Plugins

-------

html-report (4.1.4)

java (0.7.3)

screenshot (0.1.0)

xml-report (0.2.3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant