LoginSignup
0
0

More than 5 years have passed since last update.

チラ裏: GoCD使おうとしたが起動すら成功しなかった

Last updated at Posted at 2017-09-09

ubuntu 16.10

deb インストール

  • go-server_17.9.0-5368_all.deb
  • go-agent_17.9.0-5368_all.deb

起動

  • 設定: /etc/default/go-server
sudo /etc/init.d/go-server start

Java 1.9だと動かないので1.8を入れる

/var/log/go-server/go-server.out.log

[2017  9 10 日曜日 08:21:07 JST] Starting Go Server in directory: /var/lib/go-server
Running GoCD requires Java version 1.8. You are currently running with Java version 9. GoCD will now exit!
sudo apt purge openjdk-9-jre-headless

sudo apt install -y openjdk-8-jre-headless
sudo /etc/init.d/go-server start

[2017年  9月 10日 日曜日 08:26:46 JST] using default settings from /etc/default/go-server
Error starting Go Server.

以下エラー

/var/log/go-server/go-server.log
org.springframework.beans.factory.UnsatisfiedDependencyException
: Error creating bean with name 'userService' defined in file [/var/lib/go-server/work/jetty-0.0.0.0-8153-cruise.war-_go-any-/webapp/WEB-INF/classes/com/thoughtworks/go/server/service/UserService.class]
: Unsatisfied dependency expressed through constructor argument with index 0 of type [com.thoughtworks.go.server.dao.UserDao]
: 
: Error creating bean with name 'userSqlMapDao'
: Requested bean is currently in creation
: Is there an unresolvable circular reference?; nested exception is org.springframework.beans.factory.BeanCurrentlyInCreationException
: Error creating bean with name 'userSqlMapDao'
: Requested bean is currently in creation
: Is there an unresolvable circular reference?

を使うのがてっとり早そう

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0