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

axboot 설치후 method undefined for the type 에러 메시지가 나오는 문제 때문에 문의드립니다 #34

Open
kimtaeok opened this issue Jan 6, 2017 · 1 comment

Comments

@kimtaeok
Copy link

kimtaeok commented Jan 6, 2017

첨부한 아래 사진처럼 undefined type 에러가 뜨는데 혹시 빠진 부분이 있을까요?

default

. ____ _ __ _ _
/\ / ' __ _ () __ __ _ \ \ \
( ( )_
_ | '_ | '| | ' / ` | \ \ \
\/ )| |)| | | | | || (| | ) ) ) )
' |
| .__|| ||| |_, | / / / /
=========|
|==============|/=////
:: Spring Boot :: (v1.4.2.RELEASE)

2017-01-06 16:59:37 [main] INFO com.chequer.axboot.AXBootApplicationInitializer:logStarting:48 Starting AXBootApplicationInitializer on DESKTOP-M84G70A with PID 8180 (C:\Users\kimtaeok\Desktop\axboot\target\classes started by kimtaeok in C:\Users\kimtaeok\Desktop\axboot)
2017-01-06 16:59:37 [main] INFO com.chequer.axboot.AXBootApplicationInitializer:logStartupProfileInfo:661 No active profile set, falling back to default profiles: default
2017-01-06 16:59:37 [background-preinit] INFO org.hibernate.validator.internal.util.Version::30 HV000001: Hibernate Validator 5.2.4.Final
2017-01-06 16:59:37 [main] INFO org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext:prepareRefresh:582 Refreshing org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@57d7f8ca: startup date [Fri Jan 06 16:59:37 KST 2017]; root of context hierarchy
2017-01-06 16:59:39 [main] WARN org.mybatis.spring.mapper.ClassPathMapperScanner:doScan:167 No MyBatis mapper was found in '[com.chequer.axboot.domain]' package. Please check your configuration.
2017-01-06 16:59:39 [main] WARN org.springframework.context.annotation.ConfigurationClassPostProcessor:enhanceConfigurationClasses:389 Cannot enhance @configuration bean definition 'coreApplicationContext' since its singleton instance has been created too early. The typical cause is a non-static @bean method with a BeanDefinitionRegistryPostProcessor return type: Consider declaring such methods as 'static'.
2017-01-06 16:59:39 [main] INFO org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor::155 JSR-330 'javax.inject.Inject' annotation found and supported for autowiring
2017-01-06 16:59:39 [main] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:postProcessAfterInitialization:325 Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [class org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration$$EnhancerBySpringCGLIB$$8864b58b] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2017-01-06 16:59:39 [main] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:postProcessAfterInitialization:325 Bean 'org.springframework.security.config.annotation.configuration.ObjectPostProcessorConfiguration' of type [class org.springframework.security.config.annotation.configuration.ObjectPostProcessorConfiguration$$EnhancerBySpringCGLIB$$21127dc5] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2017-01-06 16:59:39 [main] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:postProcessAfterInitialization:325 Bean 'objectPostProcessor' of type [class org.springframework.security.config.annotation.configuration.AutowireBeanFactoryObjectPostProcessor] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2017-01-06 16:59:39 [main] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:postProcessAfterInitialization:325 Bean 'org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler@4ef2ab73' of type [class org.springframework.security.access.expression.method.DefaultMethodSecurityExpressionHandler] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2017-01-06 16:59:39 [main] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:postProcessAfterInitialization:325 Bean 'org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration' of type [class org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration$$EnhancerBySpringCGLIB$$45e72077] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2017-01-06 16:59:40 [main] INFO org.springframework.context.support.PostProcessorRegistrationDelegate$BeanPostProcessorChecker:postProcessAfterInitialization:325 Bean 'methodSecurityMetadataSource' of type [class org.springframework.security.access.method.DelegatingMethodSecurityMetadataSource] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2017-01-06 16:59:40 [main] INFO org.springframework.boot.context.embedded.tomcat.TomcatEmbeddedServletContainer:initialize:87 Tomcat initialized with port(s): 8080 (http)
2017-01-06 16:59:40 [main] INFO org.apache.catalina.core.StandardService:log:179 Starting service Tomcat
2017-01-06 16:59:40 [main] INFO org.apache.catalina.core.StandardEngine:log:179 Starting Servlet Engine: Apache Tomcat/8.5.6
2017-01-06 16:59:41 [localhost-startStop-1] WARN org.apache.tomcat.util.scan.StandardJarScanner:log:181 Failed to scan [file:/D:/Dropbox/egovService/eGovFrameDev-3.6.0-64bit/maven/repository/xalan/xalan/2.7.2/xercesImpl.jar] from classloader hierarchy
java.io.FileNotFoundException: D:\Dropbox\egovService\eGovFrameDev-3.6.0-64bit\maven\repository\xalan\xalan\2.7.2\xercesImpl.jar (지정된 파일을 찾을 수 없습니다)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:219)
at java.util.zip.ZipFile.(ZipFile.java:149)
at java.util.jar.JarFile.(JarFile.java:166)
at java.util.jar.JarFile.(JarFile.java:130)
at org.apache.tomcat.util.scan.JarFileUrlJar.(JarFileUrlJar.java:60)
at org.apache.tomcat.util.scan.JarFactory.newInstance(JarFactory.java:48)
at org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.java:338)
at org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java:288)
at org.apache.jasper.servlet.TldScanner.scanJars(TldScanner.java:262)
at org.apache.jasper.servlet.TldScanner.scan(TldScanner.java:104)
at org.apache.jasper.servlet.JasperInitializer.onStartup(JasperInitializer.java:101)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5178)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1403)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1393)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
2017-01-06 16:59:41 [localhost-startStop-1] WARN org.apache.tomcat.util.scan.StandardJarScanner:log:181 Failed to scan [file:/D:/Dropbox/egovService/eGovFrameDev-3.6.0-64bit/maven/repository/xalan/xalan/2.7.2/xml-apis.jar] from classloader hierarchy
java.io.FileNotFoundException: D:\Dropbox\egovService\eGovFrameDev-3.6.0-64bit\maven\repository\xalan\xalan\2.7.2\xml-apis.jar (지정된 파일을 찾을 수 없습니다)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:219)
at java.util.zip.ZipFile.(ZipFile.java:149)
at java.util.jar.JarFile.(JarFile.java:166)
at java.util.jar.JarFile.(JarFile.java:130)
at org.apache.tomcat.util.scan.JarFileUrlJar.(JarFileUrlJar.java:60)
at org.apache.tomcat.util.scan.JarFactory.newInstance(JarFactory.java:48)
at org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.java:338)
at org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java:288)
at org.apache.jasper.servlet.TldScanner.scanJars(TldScanner.java:262)
at org.apache.jasper.servlet.TldScanner.scan(TldScanner.java:104)
at org.apache.jasper.servlet.JasperInitializer.onStartup(JasperInitializer.java:101)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5178)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1403)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1393)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
2017-01-06 16:59:41 [localhost-startStop-1] WARN org.apache.tomcat.util.scan.StandardJarScanner:log:181 Failed to scan [file:/D:/Dropbox/egovService/eGovFrameDev-3.6.0-64bit/maven/repository/xalan/xalan/2.7.2/serializer.jar] from classloader hierarchy
java.io.FileNotFoundException: D:\Dropbox\egovService\eGovFrameDev-3.6.0-64bit\maven\repository\xalan\xalan\2.7.2\serializer.jar (지정된 파일을 찾을 수 없습니다)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:219)
at java.util.zip.ZipFile.(ZipFile.java:149)
at java.util.jar.JarFile.(JarFile.java:166)
at java.util.jar.JarFile.(JarFile.java:130)
at org.apache.tomcat.util.scan.JarFileUrlJar.(JarFileUrlJar.java:60)
at org.apache.tomcat.util.scan.JarFactory.newInstance(JarFactory.java:48)
at org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.java:338)
at org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java:288)
at org.apache.jasper.servlet.TldScanner.scanJars(TldScanner.java:262)
at org.apache.jasper.servlet.TldScanner.scan(TldScanner.java:104)
at org.apache.jasper.servlet.JasperInitializer.onStartup(JasperInitializer.java:101)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5178)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1403)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1393)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
2017-01-06 16:59:41 [localhost-startStop-1] WARN org.apache.tomcat.util.scan.StandardJarScanner:log:181 Failed to scan [file:/D:/Dropbox/egovService/eGovFrameDev-3.6.0-64bit/maven/repository/xalan/serializer/2.7.2/xml-apis.jar] from classloader hierarchy
java.io.FileNotFoundException: D:\Dropbox\egovService\eGovFrameDev-3.6.0-64bit\maven\repository\xalan\serializer\2.7.2\xml-apis.jar (지정된 파일을 찾을 수 없습니다)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.(ZipFile.java:219)
at java.util.zip.ZipFile.(ZipFile.java:149)
at java.util.jar.JarFile.(JarFile.java:166)
at java.util.jar.JarFile.(JarFile.java:130)
at org.apache.tomcat.util.scan.JarFileUrlJar.(JarFileUrlJar.java:60)
at org.apache.tomcat.util.scan.JarFactory.newInstance(JarFactory.java:48)
at org.apache.tomcat.util.scan.StandardJarScanner.process(StandardJarScanner.java:338)
at org.apache.tomcat.util.scan.StandardJarScanner.scan(StandardJarScanner.java:288)
at org.apache.jasper.servlet.TldScanner.scanJars(TldScanner.java:262)
at org.apache.jasper.servlet.TldScanner.scan(TldScanner.java:104)
at org.apache.jasper.servlet.JasperInitializer.onStartup(JasperInitializer.java:101)
at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5178)
at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1403)
at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1393)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
2017-01-06 16:59:41 [localhost-startStop-1] INFO org.apache.jasper.servlet.TldScanner:log:179 At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
2017-01-06 16:59:41 [localhost-startStop-1] INFO org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/]:log:179 Initializing Spring embedded WebApplicationContext
2017-01-06 16:59:41 [localhost-startStop-1] INFO org.springframework.web.context.ContextLoader:prepareEmbeddedWebApplicationContext:276 Root WebApplicationContext: initialization completed in 3773 ms
2017-01-06 16:59:41 [localhost-startStop-1] INFO org.springframework.boot.web.servlet.FilterRegistrationBean:configure:258 Mapping filter: 'multiReadableHttpServletRequestFilter' to: [/]
2017-01-06 16:59:41 [localhost-startStop-1] INFO org.springframework.boot.web.servlet.FilterRegistrationBean:configure:258 Mapping filter: 'characterEncodingFilter' to: [/
]
2017-01-06 16:59:41 [localhost-startStop-1] INFO org.springframework.boot.web.servlet.FilterRegistrationBean:configure:258 Mapping filter: 'hiddenHttpMethodFilter' to: [/]
2017-01-06 16:59:41 [localhost-startStop-1] INFO org.springframework.boot.web.servlet.FilterRegistrationBean:configure:258 Mapping filter: 'httpPutFormContentFilter' to: [/
]
2017-01-06 16:59:41 [localhost-startStop-1] INFO org.springframework.boot.web.servlet.FilterRegistrationBean:configure:258 Mapping filter: 'requestContextFilter' to: [/]
2017-01-06 16:59:41 [localhost-startStop-1] INFO org.springframework.boot.web.servlet.DelegatingFilterProxyRegistrationBean:configure:258 Mapping filter: 'springSecurityFilterChain' to: [/
]
2017-01-06 16:59:41 [localhost-startStop-1] INFO org.springframework.boot.web.servlet.FilterRegistrationBean:configure:258 Mapping filter: 'corsFilter' to: [/]
2017-01-06 16:59:41 [localhost-startStop-1] INFO org.springframework.boot.web.servlet.FilterRegistrationBean:configure:258 Mapping filter: 'configFilter' to: [/
]
2017-01-06 16:59:41 [localhost-startStop-1] INFO org.springframework.boot.web.servlet.ServletRegistrationBean:onStartup:190 Mapping servlet: 'dispatcherServlet' to [/]
2017-01-06 16:59:41 [localhost-startStop-1] INFO org.springframework.boot.web.servlet.ServletRegistrationBean:onStartup:190 Mapping servlet: 'webServlet' to [/h2-console/*]
2017-01-06 16:59:42 [main] INFO com.chequer.axboot.core.db.dbcp.AXBootDataSourceFactory:create:19 success to create DataSource('MainDataSource')
2017-01-06 16:59:42 [main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean:createNativeEntityManagerFactory:349 Building JPA container EntityManagerFactory for persistence unit 'default'
2017-01-06 16:59:42 [main] INFO org.hibernate.jpa.internal.util.LogHelper:logPersistenceUnitInformation:31 HHH000204: Processing PersistenceUnitInfo [
name: default
...]
2017-01-06 16:59:42 [main] INFO org.hibernate.Version:logVersion:37 HHH000412: Hibernate Core {5.0.11.Final}
2017-01-06 16:59:42 [main] INFO org.hibernate.cfg.Environment::213 HHH000206: hibernate.properties not found
2017-01-06 16:59:42 [main] INFO org.hibernate.cfg.Environment:buildBytecodeProvider:317 HHH000021: Bytecode provider name : javassist
2017-01-06 16:59:42 [main] INFO org.hibernate.annotations.common.Version::66 HCANN000001: Hibernate Commons Annotations {5.0.1.Final}
2017-01-06 16:59:42 [main] INFO org.hibernate.dialect.Dialect::156 HHH000400: Using dialect: org.hibernate.dialect.H2Dialect
2017-01-06 16:59:43 [main] WARN org.hibernate.boot.internal.SessionFactoryBuilderImpl::648 Unrecognized hbm2ddl_auto value : none. Supported values include create, create-drop, update, and validate. Ignoring
2017-01-06 16:59:43 [main] WARN org.hibernate.mapping.RootClass:checkCompositeIdentifier:285 HHH000038: Composite-id class does not override equals(): com.chequer.axboot.domain.code.CommonCodeId
2017-01-06 16:59:43 [main] WARN org.hibernate.mapping.RootClass:checkCompositeIdentifier:288 HHH000039: Composite-id class does not override hashCode(): com.chequer.axboot.domain.code.CommonCodeId
2017-01-06 16:59:43 [main] WARN org.hibernate.mapping.RootClass:checkCompositeIdentifier:285 HHH000038: Composite-id class does not override equals(): com.chequer.axboot.domain.user.auth.menu.AuthGroupMenu$AuthGroupMenuId
2017-01-06 16:59:43 [main] WARN org.hibernate.mapping.RootClass:checkCompositeIdentifier:288 HHH000039: Composite-id class does not override hashCode(): com.chequer.axboot.domain.user.auth.menu.AuthGroupMenu$AuthGroupMenuId
2017-01-06 16:59:43 [main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean:buildNativeEntityManagerFactory:382 Initialized JPA EntityManagerFactory for persistence unit 'default'
2017-01-06 16:59:43 [main] WARN org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext:refresh:550 Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'AXBootSecurityConfig': Unsatisfied dependency expressed through field 'userDetailsService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'AXBootUserDetailsService' defined in file [C:\Users\kimtaeok\Desktop\axboot\target\classes\com\chequer\axboot\security\AXBootUserDetailsService.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.chequer.axboot.security.AXBootUserDetailsService]: Constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problems:
The method getUseYn() is undefined for the type User
The method getDelYn() is undefined for the type User
The method getUserCd() is undefined for the type User
The method getUserNm() is undefined for the type User
The method getUserPs() is undefined for the type User
The method getMenuGrpCd() is undefined for the type User
The method getRoleCd() is undefined for the type UserRole
The method getGrpAuthCd() is undefined for the type UserAuth
The method getLocale() is undefined for the type User

2017-01-06 16:59:43 [main] INFO org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean:destroy:551 Closing JPA EntityManagerFactory for persistence unit 'default'
2017-01-06 16:59:43 [main] INFO org.apache.catalina.core.StandardService:log:179 Stopping service Tomcat
2017-01-06 16:59:43 [main] WARN org.springframework.boot.SpringApplication:callFinishedListener:91 Error handling failed (Error creating bean with name 'delegatingApplicationListener' defined in class path resource [org/springframework/security/config/annotation/web/configuration/WebSecurityConfiguration.class]: BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'metaDataSourceAdvisor': Cannot resolve reference to bean 'methodSecurityMetadataSource' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.security.config.annotation.method.configuration.GlobalMethodSecurityConfiguration': Initialization of bean failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'org.springframework.context.annotation.ConfigurationClassPostProcessor.importRegistry' available)
2017-01-06 16:59:43 [main] ERROR org.springframework.boot.SpringApplication:reportFailure:839 Application startup failed
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'AXBootSecurityConfig': Unsatisfied dependency expressed through field 'userDetailsService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'AXBootUserDetailsService' defined in file [C:\Users\kimtaeok\Desktop\axboot\target\classes\com\chequer\axboot\security\AXBootUserDetailsService.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.chequer.axboot.security.AXBootUserDetailsService]: Constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problems:
The method getUseYn() is undefined for the type User
The method getDelYn() is undefined for the type User
The method getUserCd() is undefined for the type User
The method getUserNm() is undefined for the type User
The method getUserPs() is undefined for the type User
The method getMenuGrpCd() is undefined for the type User
The method getRoleCd() is undefined for the type UserRole
The method getGrpAuthCd() is undefined for the type UserAuth
The method getLocale() is undefined for the type User

at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:592)
at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:370)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1219)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:551)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:754)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:866)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542)
at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:761)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:371)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:315)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1186)
at com.chequer.axboot.AXBootApplicationInitializer.main(AXBootApplicationInitializer.java:20)

Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'AXBootUserDetailsService' defined in file [C:\Users\kimtaeok\Desktop\axboot\target\classes\com\chequer\axboot\security\AXBootUserDetailsService.class]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.chequer.axboot.security.AXBootUserDetailsService]: Constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problems:
The method getUseYn() is undefined for the type User
The method getDelYn() is undefined for the type User
The method getUserCd() is undefined for the type User
The method getUserNm() is undefined for the type User
The method getUserPs() is undefined for the type User
The method getMenuGrpCd() is undefined for the type User
The method getRoleCd() is undefined for the type UserRole
The method getGrpAuthCd() is undefined for the type UserAuth
The method getLocale() is undefined for the type User

at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1110)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1054)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:512)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:306)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:302)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202)
at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:207)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1131)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1059)
at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:589)
... 18 common frames omitted

Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.chequer.axboot.security.AXBootUserDetailsService]: Constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problems:
The method getUseYn() is undefined for the type User
The method getDelYn() is undefined for the type User
The method getUserCd() is undefined for the type User
The method getUserNm() is undefined for the type User
The method getUserPs() is undefined for the type User
The method getMenuGrpCd() is undefined for the type User
The method getRoleCd() is undefined for the type UserRole
The method getGrpAuthCd() is undefined for the type UserAuth
The method getLocale() is undefined for the type User

at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:154)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:89)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:1102)
... 29 common frames omitted

Caused by: java.lang.Error: Unresolved compilation problems:
The method getUseYn() is undefined for the type User
The method getDelYn() is undefined for the type User
The method getUserCd() is undefined for the type User
The method getUserNm() is undefined for the type User
The method getUserPs() is undefined for the type User
The method getMenuGrpCd() is undefined for the type User
The method getRoleCd() is undefined for the type UserRole
The method getGrpAuthCd() is undefined for the type UserAuth
The method getLocale() is undefined for the type User

at com.chequer.axboot.security.AXBootUserDetailsService.<init>(AXBootUserDetailsService.java:42)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:142)
... 31 common frames omitted
@brant-hwang
Copy link
Member

Lombok을 설치하세요.

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

No branches or pull requests

2 participants