Error creating bean with name 'referenceCCDAValidationController'

37 views
Skip to first unread message

Jason C.

unread,
Sep 18, 2018, 3:40:16 PM9/18/18
to Edge Test Tool (ETT)
Hi guys, 

I tried many time, but couldn't get past this issue in Catalina logs. 

Error creating bean with name 'referenceCCDAValidationController'

I double checked, I do have referenceccdaservice.xml in /conf/Catalina/localhost. Below are the content of this file:

<!--
This file stubs the necessary configuration to run the Reference CCDA application in a tomcat instance.

MUST DO
1. Update the value attributes with the correct values for your deployment.
2. This file MUST be placed in $CATALINA_BASE/conf/[enginename]/[hostname]/ . For example, tomcatlocation\conf\Catalina\localhost

OPTIONAL
Save a backup of this completed configuration file
-->

<Context reloadable="true">
    <Parameter name="vocabulary.localCodeRepositoryDir" value="C:/webProject/apache-tomcat/local_configuration/ccda_validator/validator_configuration/vocabulary" override="true"/>
<Parameter name="vocabulary.localValueSetRepositoryDir" value="C:/webProject/apache-tomcat/local_configuration/ccda_validator/validator_configuration/vocabulary/valueset_repository/VSAC" override="true"/>
<Parameter name="referenceccda.configFile" value="C:/webProject/apache-tomcat/local_configuration/ccda_validator/validator_configuration/ccdaReferenceValidatorConfig.xml" override="true"/>
    <Parameter name="referenceccda.isDynamicVocab" value="false" override="true"/>
    <Parameter name="referenceccda.configFolder" value="C:/webProject/apache-tomcat/local_configuration/ccda_validator/validator_configuration" override="true"/>
<Parameter name="content.scenariosDir" value="C:/webProject/apache-tomcat/local_configuration/ccda_validator/validator_configuration/scenarios" override="true"/>
</Context>


I have attached my .log file for reference.  'referenceCCDAValidationController' is not the only one.  It looks like are a dozen or more "Error creating bean X" errors.

Thanks in advance. 
referenceccdaservice.2018-09-18.log

Jason C.

unread,
Sep 18, 2018, 4:20:30 PM9/18/18
to Edge Test Tool (ETT)
I tried changing to the following, it is not working, same errors

<Context reloadable="true">
   
<Parameter name="vocabulary.localCodeRepositoryDir" value="C:\webProject\apache-tomcat\local_configuration\ccda_validator\validator_configuration\vocabulary\code_repository" override="true"/>
 
<Parameter name="vocabulary.localValueSetRepositoryDir" value="C:\webProject\apache-tomcat\local_configuration\ccda_validator\validator_configuration\vocabulary\valueset_repository\VSAC" override="true"/>
 
<Parameter name="referenceccda.configFile" value="C:\webProject\apache-tomcat\local_configuration\ccda_validator\validator_configuration\ccdaReferenceValidatorConfig.xml" override="true"/>

   
<Parameter name="referenceccda.isDynamicVocab" value="false" override="true"/>

   
<Parameter name="referenceccda.configFolder" value="C:\webProject\apache-tomcat\local_configuration\ccda_validator\validator_configuration" override="true"/>
 
<Parameter name="content.scenariosDir" value="C:\webProject\apache-tomcat\local_configuration\ccda_validator\validator_configuration\scenarios" override="true"/>
</Context

Jason C.

unread,
Sep 19, 2018, 3:17:21 PM9/19/18
to Edge Test Tool (ETT)
Anyone can help with this one?

I have tried reinstalling tomcat, tried version 7, 8 and 9. Also tried moving the vocabulary files in webapps, same as the setup I found here, I am still getting the same error. 

15:12:27,940 WARN  [AnnotationConfigWebApplicationContext:546] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'referenceCCDAValidationController': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: org.sitenv.referenceccda.services.ReferenceCCDAValidationService org.sitenv.referenceccda.controllers.ReferenceCCDAValidationController.referenceCcdaValidationService; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error

Any help is greatly appreciated, we need to get this working for certification. Thanks al. 
Reply all
Reply to author
Forward
0 new messages