[JAVA] I was addicted to starting sbt

I decided to introduce GitBucket in-house. I haven't touched scala, but as far as I can see the contents, it seems to be a little messy. Decided to remodel, http://qiita.com/icoxfog417/items/31d88358942d8dd0eb8b I tried to build the environment with reference to.

However, the essential build cannot be executed. When you hit the sbt command Your proxy requires authentication. I get a proxy authentication error.

In sbtconfig.txt

-Dhttp.proxyHost = Proxy host -Dhttp.proxyPort = port -Dhttp.proxyUser = user -Dhttp.proxyPassword = password -Dhttps.proxyHost = Proxy host -Dhttps.proxyPort = port

Has been set.

Looking at StackFlow of sbt, the following article https://stackoverflow.com/questions/31018536/getting-org-scala-sbtsbt0-13-8-not-found-error-though-i-have-the-same-versi/31706477#31706477

By mistake my environment was pointing to jre rather than jdk.

This was the cause. In my environment, while I installed various software, I had 4 Java installed. The environment variable path pointed to 1.8 in the JRE.

If you think about it, sbt is a build tool, so of course you need a JDK. However, I don't notice it in that message ... I've been researching it for a long time, thinking that the proxy settings are completely wrong. ..

Recommended Posts

I was addicted to starting sbt
I was addicted to rewriting to @SpringApplicationConfiguration-> @SpringBootTest
I was addicted to the roll method
I was addicted to the Spring-Batch test
I was addicted to using RXTX on Sierra
I was addicted to installing Ruby/Tk on MacOS
I was addicted to doing onActivityResult () with DialogFragment
I was addicted to the NoSuchMethodError in Cloud Endpoints
I was addicted to the record of the associated model
What I was addicted to when introducing the JNI library
What I fixed when updating to Spring Boot 1.5.12 ・ What I was addicted to
What I was addicted to while using rspec on rails
I was addicted to setting default_url_options with Rails devise introduction
I was addicted to looping the Update statement on MyBatis
A story I was addicted to in Rails validation settings
I was addicted to the setting of laradock + VSCode + xdebug
What I was addicted to with the Redmine REST API
Android memo-I was addicted to Permission
I was addicted to using Java's Stream API in Scala
The story I was addicted to when setting up STS
A note when I was addicted to converting Ubuntu on WSL1 to WSL2
What I was addicted to when implementing google authentication with rails
About the matter that I was addicted to how to use hashmap
I was addicted to the API version min23 setting of registerTorchCallback
Memorandum: What I was addicted to when I hit the accounting freee API
[Rails] I was addicted to the nginx settings when using Action Cable.
A story I was addicted to when testing the API using MockMVC
My.cnf configuration problem that I was addicted to when I was touching MySQL 8.0 like 5.7
I was addicted to a simple test of Jedis (Java-> Redis library)
Problems I was addicted to when building the digdag environment with docker
Recorded because I was addicted to the standard input of the Scanner class
I was a little addicted to running old Ruby environment and old Rails
I was addicted to scrollview because I couldn't tap the variable size UIView
[CircleCI] I was addicted to the automatic test of CircleCI (rails + mysql) [Memo]
I was a little addicted to ssh connection from mac to linux (ubuntu)
I was addicted to unit testing with the buffer operator in RxJava
I was addicted to not being able to connect to AWS-S3 from the Docker container
I was a little addicted to the S3 Checksum comparison, so I made a note.
SpringSecurity I was addicted to trying to log in with a hashed password (solved)
What I was addicted to when developing a Spring Boot application with VS Code
A memo that I was addicted to when making batch processing with Spring Boot
GetXxxx of ResultSet was addicted to primitive type (Java)
The part I was addicted to in "Introduction to Ajax in Java Web Applications" of NetBeans
A memorandum because I was addicted to the setting of the Android project of IntelliJ IDEA
What I was addicted to when trying to properly openAPI/Swagger documentation with Rails + Grape + Grape Swagger
A story I was addicted to when getting a key that was automatically tried on MyBatis
A story I was addicted to before building a Ruby and Rails environment using Ubuntu (20.04.1 LTS)
A story I was addicted to with implicit type conversion of ActiveRecord during unit testing
I was addicted to WSl when trying to build an android application development environment with Vue.js
I knew what reflection was
Technical causes and countermeasures for the points I was addicted to with the first Android app & Kotlin
I went to Scala Fukuoka 2019!
I want to convert characters ...
What I was addicted to when updating the PHP version of the development environment (Docker) from 7.2.11 to 7.4.x
[Rails] How to solve ActiveSupport :: MessageVerifier :: InvalidSignature that I was addicted to when introducing twitter login [ActiveStorage]
I tried to verify yum-cron
I tried to summarize what was asked at the site-java edition-
I tried to summarize devise which was difficult at first glance
I was able to deploy the Docker + laravel + MySQL app to Heroku!
A story that I was addicted to twice with the automatic startup setting of Tomcat 8 on CentOS 8