org.springframework.beans.factory.BeanCreationException: Error creating bean wit h name 'main': Invocation of init method failed; nested exception is java.lang.I llegalArgumentException: No enum constant POGOProtos.Enums.PokemonIdOuterClass.P okemonId. at org.springframework.beans.factory.annotation.InitDestroyAnnotationBea nPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProc essor.java:136) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanF actory.java:408)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by xenxes
, 1 year ago
Error creating bean wit h name 'main': Invocation of init method failed; nested exception is java.lang.I llegalArgumentException: No enum constant POGOProtos.Enums.PokemonIdOuterClass.P okemonId. at
via Stack Overflow by Dilip gowda
, 1 year ago
Error creating bean with name 'userManagerREST': Invocation of init method failed; nested exception is org.apache.cxf.service.factory.ServiceConstructionException
via filegala.com by Unknown author, 1 year ago
Error creating bean with name 'userManagerREST': Invocation of init method failed; nested exception is org.apache.cxf.service.factory.ServiceConstructionException
via Stack Overflow by Unknown author, 2 years ago
Error creating bean with name 'resellerServiceServer': Invocation of init method failed; nested exception is org.apache.cxf.service.factory.ServiceConstructionException
via Stack Overflow by mikhail
, 2 years ago
Error creating bean with name 'anonymousServiceEndpoint': Invocation of init method failed; nested exception is javax.xml.ws.WebServiceException: org.apache.cxf.service.factory.ServiceConstructionException
via Stack Overflow by Jim
, 2 years ago
Error creating bean with name 'reportDao' defined in class com.mystuff.reporting.ReportConfig: Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: 'sessionFactory' or 'hibernateTemplate' is required
org.springframework.beans.factory.BeanCreationException: Error creating bean wit h name 'main': Invocation of init method failed; nested exception is java.lang.I llegalArgumentException: No enum constant POGOProtos.Enums.PokemonIdOuterClass.P okemonId. at org.springframework.beans.factory.annotation.InitDestroyAnnotationBea nPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProc essor.java:136) at org.springframework.beans.factory.support.AbstractAutowireCapableBean Factory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanF actory.java:408)
at java.lang.Enum.valueOf(Unknown Source)
at POGOProtos.Enums.PokemonIdOuterClass$PokemonId.valueOf(PokemonIdOuterClass.java:14)
at ink.abb.pogo.scraper.Main.createBot(Main.kt:69)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 3 weeks ago
Once, 2 months ago
2 times, 3 months ago
11 times, 4 months ago
48 more bugmates

Know the solutions? Share your knowledge to help other developers to debug faster.