Dynamic Web Module option in Eclipse

Could someone please explain the purpose of this option and what exactly it is for. It looks like the default is on my eclipse installation is 3.0 but it wont run on a Tomcat 5.5 server and...

Windows ignores JAVA_HOME: how to set JDK as default?

How do I persuade Windows to use the JDK instead of a JRE? This question has been asked before, here and...

What is a good Java library to zip/unzip files?

I looked at the default Zip library that comes with the JDK and the Apache compression libs and I am unhappy with them for 3 reasons: They are bloated and have bad API design. I have to write 50...

Unable to Build using MAVEN with ERROR - Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile

I have been trying to build a code using maven. But I am stuck with an error. The code is available on this github repo. google-play-crawler My system configurations as shown by maven is...

grails upgrading 2.4.0 causes Error Compilation error: startup failed

I am trying to upgrade from Grails 2.2.3 to Grails 2.4.0. For that I have followed following steps: using GVM, I have installed grails 2.4.0 set grails default version to 2.4.0 then run command...

maven ignoring jenv settings

I had OSX with Java 1.6 installed, and I just installed jenv along with Java 1.7: $ jenv local '1.7' $ jenv versions system 1.6 1.6.0.65 * 1.7 (set by /Users/me/workspace/.java-version) ...

studio.sh command not found - Ubuntu

I am trying to get Android Studio running. I have installed jdk and jre sudo apt-get install default-jre sudo apt-get install default-jdk I have set up my .bashrc and /etc/environment file...

Install node in Dockerfile?

I am user of AWS elastic beanstalk, and I have a little problem. I want to build my CSS files with less+node. But I don`t know how to install node in my dockerfile, when building with...

Cannot invoke Tomcat manager: Broken pipe

I am ready to pull my hair out. Please dont close this as duplicate as I have read every single post on this for the past 4 hours! I am running: ubuntu 14.04 tomcat7 maven3 Here is my...

Using JDK that is bundled inside Android Studio as JAVA_HOME on Mac

I tried to open Android Device Monitor and the Studio showed me this message =-O : It surprised me, because how have I been able to develop Android apps if I didn't have any Java installed?!...

Can't setup Android NDK location in Android Studio

I set default location for AndroidSDK and JDK, but I can't set location for Android NDK - the field is grayed out. I downloaded NDK to some folder, set up ANDROID_NDK_HOME and NDK_HOME vars....

getting a java.lang.ClassNotFoundException when starting a Docker container

I am having a problem starting a .jar file within a Docker Container. The error message I am getting is: Exception in thread "main" java.lang.ClassNotFoundException: ccinfw.MainApplication I...

What is Common Locale Data Repository (CLDR) - JDK 9

I want to understand CLDR as it is enhanced in JDK-9. JDK 9 CLDR As per JDK docs In JDK 9, the default locale data uses data derived from the Unicode Consortium's Common Locale Data Repository...

Windows Subsystem for Linux (WSL) using shared Node.js installation with Windows: Node.js npm & npx binaries not working

I have recently moved to a Windows + WSL environment (WSL is going very good by the way). The main reason of doing this is to have a Linux environment for development and having Windows for other...

Kotlin could not find the required JDK tools in the Java installation

When running ./gradlew clean build I get following message: > Task :compileKotlin FAILED FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':compileKotlin'. >...

how to fix the maven surefire plugin error [there was error in the forked process]?

I am trying to run my sample project which uses Maven- testNG-cucumber and deploy it using docker . here is my Dockerfile FROM maven:3.6.0-jdk-8 RUN mkdir /docker WORKDIR /docker COPY ...

public key is not available: NO_PUBKEY F76221572C52609D

For the below docker file: FROM microsoft/aspnetcore-build:1.0.1 ENV DOTNET_SKIP_FIRST_TIME_EXPERIENCE 1 # This is FROM openjdk:8-jdk RUN apt-get update && apt-get install -y...

OpenJ9 tomcat won't start with high -Xmx heap option

I have a Spring app running in a Tomcat 9.0.6 on Linux 64. Because it needs a lot of memory, I would like to try the OpenJ9 JVM which is supposedly more efficient in that regard (current heap...

Kotlin Mockk Error: Missing calls inside verify { ... } block

I already read some issues with this or a similar error message (it is also ocurring for every {}), but none of them took me to a success result. Any hints or suggestions on how to get this to...

Oracle Universal Installer stops after launch (Oracle Forms and Reports 12.2.1.4)

i try to install Oracle Forms and Reports 12.2.1.4, but everytime I run setup.fmw.12.2.1.4.0_fr_win64.exe file Oracle Universal Installer window shows up for a moment with communicate "Preparing...

Heroku: Spring boot app successfully deploying; but receiving application error when loading site

I would like to deploy my Spring boot app on Heroku. When i try the manual deploy, there is no error on my log. But when i try to load the site i have this error: Application error An error...

SpringBoot RestTemplate return 403 forbidden when executing from docker container

I am trying to implement Spring Boot RestTemplate and invoke external REST service using Java Code. This is working as java application but when I am deploying same code in docker container I am...

Maven is not using Java 11 - Fatal error compiling: invalid target release: 11

I am trying to compile my project with Java 11. When I try to run the application with Java 8 as the Java version in pom.xml, it works fine. But when I try to run it with Java 11, it throws an...

Can't specify SDK in Intellij on Linux

I am running IntelliJ IDEA 2017.1.6 Pro on a Linux (Ubuntu) machine and, it will not let me select an SDK for any Java project. Whenever I start up the program and go to "Create a New Project"...

Unable to get heroku started on cloud9 ide

I am running the command - curl https://cli-assets.heroku.com/install-ubuntu.sh | sh Which throws the following error - % Total % Received % Xferd Average Speed Time Time Time ...

Failed to execute goal maven-antrun-plugin - Connection timed out on GitHub Actions

I'm working on a Spring Boot + React/TypeScript app which uses GitHub Actions for CI/CD. I recently added the react-app-rewired package to configure some webpack settings without ejecting our CRA...

Installing sf package in R under renv on Macos

I'm having problems in installing the sf package through renv. I have installed R from source in my Mac and everything is fine. I was able to install rgdal and sf through install.packages but...

The pgAdmin 4 server could not be contacted: Fatal error

I upgrade PostgreSQL from 13.3 to 13.4 and got a fatal error by pgAdmin 4. I found other similar question that try to fix the problem deleting the folder:...

Unable to install Jenkins on Ubuntu 20.04

I am trying to install Jenkins on my Ubuntu EC2 instance and I performed the following steps to install but couldn't install it. $sudo apt update $sudo apt install openjdk-8-jdk $wget -q -O -...

Filebeat is not sending logs to logstash on kubernetes

I'm trying to send kubernetes' logs with Filebeat and Logstash. I do have some deployment on the same namespace. I tried the suggested configuration for filebeat.yml from elastic in this...