2017-10-06 1 views
0

스프링 프레임 워크에서 응용 프로그램 빌드의 Excel 파일에서 유지 관리되는 규칙 시트로 작업하고 있습니다. 규칙 시트에 몇 개의 키가 있습니다. 더 나은 아이디어를 얻기 위해 Excel 파일의 스크린 샷을 첨부하고 있습니다.
enter image description here
일부 테스트 목적으로
enter image description here규칙 시트에서 변경하는 동안 예기치 못한 Drool 오류가 발생했습니다.

, 나는 'STAGE'칼럼에 'PROD'열에서 키를 이동합니다. 그렇게하면 응용 프로그램이 jboss에 배포되지 않습니다. 다음과 같은 오류가 발생합니다 :

16:04:01,809 ERROR [org.springframework.web.context.ContextLoader] (ServerService Thread Pool -- 79) Context initialization failed: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'paymentApprovalService' defined in ServletContext resource [/WEB-INF/spring-services.xml]: Invocation of init method failed; nested exception is java.lang.Exception: [8,9]: [ERR 101] Line 8:9 no viable alternative at input ''[22,9]: [ERR 101] Line 22:9 no viable alternative at input ''[35,9]: [ERR 101] Line 35:9 no viable alternative at input ''[48,9]: [ERR 101] Line 48:9 no viable alternative at input ''[61,9]: [ERR 101] Line 61:9 no viable alternative at input ''[74,9]: [ERR 101] Line 74:9 no viable alternative at input ''[87,9]: [ERR 101] Line 87:9 no viable alternative at input ''[100,9]: [ERR 101] Line 100:9 no viable alternative at input ''[113,9]: [ERR 101] Line 113:9 no viable alternative at input ''[126,9]: [ERR 101] Line 126:9 no viable alternative at input ''[139,9]: [ERR 101] Line 139:9 no viable alternative at input ''[152,9]: [ERR 101] Line 152:9 no viable alternative at input ''[165,9]: [ERR 101] Line 165:9 no viable alternative at input ''[178,9]: [ERR 101] Line 178:9 no viable alternative at input ''[191,9]: [ERR 101] Line 191:9 no viable alternative at input ''[204,9]: [ERR 101] Line 204:9 no viable alternative at input ''[217,9]: [ERR 101] Line 217:9 no viable alternative at input ''[230,9]: [ERR 101] Line 230:9 no viable alternative at input ''[243,9]: [ERR 101] Line 243:9 no viable alternative at input ''[256,9]: [ERR 101] Line 256:9 no viable alternative at input ''[269,9]: [ERR 101] Line 269:9 no viable alternative at input ''[282,9]: [ERR 101] Line 282:9 no viable alternative at input ''[295,9]: [ERR 101] Line 295:9 no viable alternative at input ''[308,9]: [ERR 101] Line 308:9 no viable alternative at input ''[321,9]: [ERR 101] Line 321:9 no viable alternative at input ''[334,9]: [ERR 101] Line 334:9 no viable alternative at input ''[347,9]: [ERR 101] Line 347:9 no viable alternative at input ''[360,9]: [ERR 101] Line 360:9 no viable alternative at input ''[373,9]: [ERR 101] Line 373:9 no viable alternative at input ''[386,9]: [ERR 101] Line 386:9 no viable alternative at input ''[399,9]: [ERR 101] Line 399:9 no viable alternative at input ''[412,9]: [ERR 101] Line 412:9 no viable alternative at input ''[425,9]: [ERR 101] Line 425:9 no viable alternative at input ''[438,9]: [ERR 101] Line 438:9 no viable alternative at input ''[451,9]: [ERR 101] Line 451:9 no viable alternative at input ''[464,9]: [ERR 101] Line 464:9 no viable alternative at input ''[477,9]: [ERR 101] Line 477:9 no viable alternative at input ''[490,9]: [ERR 101] Line 490:9 no viable alternative at input ''[500,9]: [ERR 101] Line 500:9 no viable alternative at input ''[513,9]: [ERR 101] Line 513:9 no viable alternative at input ''[523,9]: [ERR 101] Line 523:9 no viable alternative at input ''[536,9]: [ERR 101] Line 536:9 no viable alternative at input '' 
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1420) [spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519) [spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:456) [spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
    at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:291) [spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
    at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222) [spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
    at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:288) [spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
    at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) [spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
    at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:580) [spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
    at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:895) [spring-context-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
    at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:425) [spring-context-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
    at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:276) [spring-web-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
    at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:197) [spring-web-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
    at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:47) [spring-web-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
    at org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:3339) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1] 
    at org.apache.catalina.core.StandardContext.start(StandardContext.java:3780) [jbossweb-7.5.7.Final-redhat-1.jar:7.5.7.Final-redhat-1] 
    at org.jboss.as.web.deployment.WebDeploymentService.doStart(WebDeploymentService.java:163) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21] 
    at org.jboss.as.web.deployment.WebDeploymentService.access$000(WebDeploymentService.java:61) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21] 
    at org.jboss.as.web.deployment.WebDeploymentService$1.run(WebDeploymentService.java:96) [jboss-as-web-7.5.0.Final-redhat-21.jar:7.5.0.Final-redhat-21] 
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [rt.jar:1.8.0_121] 
    at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_121] 
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_121] 
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_121] 
    at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_121] 
    at org.jboss.threads.JBossThread.run(JBossThread.java:122) 
Caused by: java.lang.Exception: [8,9]: [ERR 101] Line 8:9 no viable alternative at input ''[22,9]: [ERR 101] Line 22:9 no viable alternative at input ''[35,9]: [ERR 101] Line 35:9 no viable alternative at input ''[48,9]: [ERR 101] Line 48:9 no viable alternative at input ''[61,9]: [ERR 101] Line 61:9 no viable alternative at input ''[74,9]: [ERR 101] Line 74:9 no viable alternative at input ''[87,9]: [ERR 101] Line 87:9 no viable alternative at input ''[100,9]: [ERR 101] Line 100:9 no viable alternative at input ''[113,9]: [ERR 101] Line 113:9 no viable alternative at input ''[126,9]: [ERR 101] Line 126:9 no viable alternative at input ''[139,9]: [ERR 101] Line 139:9 no viable alternative at input ''[152,9]: [ERR 101] Line 152:9 no viable alternative at input ''[165,9]: [ERR 101] Line 165:9 no viable alternative at input ''[178,9]: [ERR 101] Line 178:9 no viable alternative at input ''[191,9]: [ERR 101] Line 191:9 no viable alternative at input ''[204,9]: [ERR 101] Line 204:9 no viable alternative at input ''[217,9]: [ERR 101] Line 217:9 no viable alternative at input ''[230,9]: [ERR 101] Line 230:9 no viable alternative at input ''[243,9]: [ERR 101] Line 243:9 no viable alternative at input ''[256,9]: [ERR 101] Line 256:9 no viable alternative at input ''[269,9]: [ERR 101] Line 269:9 no viable alternative at input ''[282,9]: [ERR 101] Line 282:9 no viable alternative at input ''[295,9]: [ERR 101] Line 295:9 no viable alternative at input ''[308,9]: [ERR 101] Line 308:9 no viable alternative at input ''[321,9]: [ERR 101] Line 321:9 no viable alternative at input ''[334,9]: [ERR 101] Line 334:9 no viable alternative at input ''[347,9]: [ERR 101] Line 347:9 no viable alternative at input ''[360,9]: [ERR 101] Line 360:9 no viable alternative at input ''[373,9]: [ERR 101] Line 373:9 no viable alternative at input ''[386,9]: [ERR 101] Line 386:9 no viable alternative at input ''[399,9]: [ERR 101] Line 399:9 no viable alternative at input ''[412,9]: [ERR 101] Line 412:9 no viable alternative at input ''[425,9]: [ERR 101] Line 425:9 no viable alternative at input ''[438,9]: [ERR 101] Line 438:9 no viable alternative at input ''[451,9]: [ERR 101] Line 451:9 no viable alternative at input ''[464,9]: [ERR 101] Line 464:9 no viable alternative at input ''[477,9]: [ERR 101] Line 477:9 no viable alternative at input ''[490,9]: [ERR 101] Line 490:9 no viable alternative at input ''[500,9]: [ERR 101] Line 500:9 no viable alternative at input ''[513,9]: [ERR 101] Line 513:9 no viable alternative at input ''[523,9]: [ERR 101] Line 523:9 no viable alternative at input ''[536,9]: [ERR 101] Line 536:9 no viable alternative at input '' 
    at com.ge.epay.helpers.BusinessRulesHelper.readDecisionTable(BusinessRulesHelper.java:65) [classes:] 
    at com.ge.epay.services.pvt.PaymentApprovalServiceImpl.afterPropertiesSet(PaymentApprovalServiceImpl.java:193) [classes:] 
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1477) [spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1417) [spring-beans-3.0.5.RELEASE.jar:3.0.5.RELEASE] 
    ... 23 more 

환경 열의 값을 변경하려고했습니다. 나는 PROD를 STAGE와 STAGE로 바꿔서 PROD로 만들었지 만 동일한 오류가 발생했습니다.
내가 잘못하고 있니?
이상한 것은 최근에 모든 PROD 행의 키가 변경된 것입니다. 그 파일은 제대로 작동했습니다. 하지만 지금은 값을 바꿀 때 응용 프로그램을 배포조차되지 않습니다.
도움이 될 것입니다.

+0

E2 * 그러한 조건 열 중 하나의 문자열 – laune

+0

실례합니다. 나는 PROD와 STAGE 행을 의미했다. 나는 그들의 가치를 바꾸려고했다. – Waquar

답변

0

Excel & 친구들이 선호하는 인용문의 경우 일 수 있습니다. 따옴표 문자 ASCII 코드 0x22를 사용하여 문자열을 구분해야합니다. 기본적

, I는 "ABC"(오픈 액세스에서)가 E2 80 9C 61 62 63 I는 "PROD"또는 "스테이지"* 열을 볼 수없는 80 9D

+0

나는 당신을 얻지 못했습니다. 응용 프로그램은 기존 파일로 잘 작동했습니다. 한 셀의 내용을 다른 셀로 복사하려고했습니다. 구분 기호가 변경됩니까? 알아낼 방법이 있습니까? – Waquar

+0

또한 이전에 값을 변경했습니다. 그 시간에 웹 페이지의 키 값을 Excel로 복사하여 저장했습니다. 괜찮 았어. – Waquar

+0

이미지에서 알 수 없습니다. CSV 텍스트로 내 보낸 오류를 일으키는 스프레드 시트의 처음 20 줄이 필요합니다. – laune

관련 문제