我正在使用ElasticSearch7.3,并且无法将它连接到我的Spring应用程序以便使用ElasticsearchRepository。
@Configuration
public class ElasticSearchConfig {
@Value("${elasticsearch.host:localhost}")
public String host;
@Value("${elasticsearch.port:9300}")
public int port;
public String getHost() {
我想将我的grails应用程序的JDK版本从8升级到14。 我使用Gradle版本6.7和Grails版本4.0.10。 当我想现在启动应用程序时,我得到了以下异常: Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'loginService': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCrea
自从应用程序升级到grails 2.3.7后,在EBS上部署war时会出现以下pb:
ERROR [GrailsContextLoader] - Error initializing the application: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error crea
我担心在其他服务中使用服务。有些能用,但有些不能,问题是我找不出哪里出了问题。
当你添加一个产生错误的服务时,总是发生同样的问题,然后我撤销了对服务有问题的引用,系统就会恢复正常。
我想知道这是否影响了循环引用,从而造成了不稳定。
class UserService {
def terceirizadoService
def unidadeService
def grailsApplication
def springSecurityService
def tabService //If I remove this line the system w
我有一个问题,我试图运行我的grails应用程序与甲骨文。我已经在lib文件夹中获得了JDBC driver,清理并刷新了依赖项,但仍然可以在oacle.jdbc.driver.OracleDriver上获得一个ClassNotFoundException。整个堆栈跟踪如下:
SEVERE: Exception sending context initialized event to listener instance of class org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener
org.springfr
在部署到Weblogic时,我们开始遇到以下异常:
org.springframework.beans.factory.BeanCreationException: Error creating bean with name
'alertService': Initialization of bean failed; nested exception is
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mailService
我有一个为我的应用程序抽象elasticsearch的单例包装类。
public class ElasticSearchClient {
private static volatile ElasticSearchClient elasticSearchClientInstance;
private static final Object lock = new Object();
private static elasticConfig ;
/*
** Private constructor to make this class sing
我试图使用mvn clean install运行我的测试,但是这些错误停止了这个过程。我尝试使用JUNIT进行调试,但控制台上没有显示任何内容。这些是日志:
com.datamint.service.impl.EmailServiceImplDevTest:Error creating bean with name'entityManagerFactory'defined in class path resource
[orm.xml]:BeanPostProcessor before instantiation of bean failed;nested except
嗨,在将grails应用程序从2.1升级到2.3.7之后,我在runApp上得到了以下错误:
2014-04-28 10:04:07,841 [localhost-startStop-1] ERROR context.GrailsContextLoader - Error initializing the application: Error creating bean with name 'transactionManagerPostProcessor': Initialization of bean failed; nested exception is org.spri
我正在用thingsboard 1.3.1运行docker,我想迁移到2.0,但我不能让它工作。
我尝试触发容器的升级脚本insite。在这里我得到了错误:
Connector configured to listen on port 8080 failed to start
ThingsBoard upgrade failed!
我尝试在容器的外部运行脚本。在这里我得到了错误:
Error creating bean with name 'thingsboardInstallService': Unsatisfied
dependency expressed through
但是当我尝试查询文档时,我得到了以下错误:
java.lang.NumberFormatException: For input string: "-Je513EBi1vVkAiBdanX"
我的配置:
@Configuration
@EnableElasticsearchRepositories
public class ElasticConfig extends AbstractElasticsearchConfiguration {
@Bean
public RestHighLevelClient elasticsearchClient() {
我使用的是Oracle 11g。并且在开发模式下启动我的Grails应用程序时出现以下错误。下面列出了我的DataSource.Groovy。请给我建议。
Error |
2014-12-25 18:42:11,836 [localhost-startStop-1] ERROR pool.ConnectionPool - Unable to create initia
l connections of pool.
Message: oracle.jdbc.driver.OracleDriver
dataSource {
pooled = true
我试图用Intellij调试Grails项目(来自另一个开发人员),并遇到以下错误:
ERROR org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener - Error initializing
the application: Error creating bean with name 'transactionManagerPostProcessor': Initialization
of bean failed; nested exception is org.springframework.b