Skip to content
Advertisement

Tag: maven

Using Spring Boot without Maven

I am trying to write a simple Java program that displays Hello World as a microservice. I am using Spring Boot, but due to security reasons at my company, I am unable to use Maven. Therefore, I have no option but to download the jar files and add them to my project. I have done so, and made sure I

How to specify credentials for custom maven private repo

I have used this article (https://gist.github.com/fernandezpablo85/03cf8b0cd2e7d8527063) for creating a custom maven repo, and it works. But now I have a problem with a private repo. How can I specify credentials for the private repo? Answer You can set in .m2/settings.xml file Like This: And in pom.xml:

Primary key values are getting updated in Spring boot

I have created a maven project using Spring Boot with MySQL database. I have two entity classes that have a primary key in one entity class and another one has a composite primary key. Customer.java(Has a primary key) ItemId.java (Idclass for Item.java) Item.java (Has a composite primary key) here the problem is when an entity object is persisted through repository

ClassNotFoundException: Failed to find data source: bigquery

I’m trying to load data from Google BigQuery into Spark running on Google Dataproc (I’m using Java). I tried to follow instructions on here: https://cloud.google.com/dataproc/docs/tutorials/bigquery-connector-spark-example I get the error: “ClassNotFoundException: Failed to find data source: bigquery.” My pom.xml looks like this: After adding the dependency to my pom.xml it was downloading a lot to build the .jar, so I think

Second root module in IntelliJ’s maven module view

I have a multimodule maven application with parent pom as follows: now in intelliJ’s maven module view i can see all modules however communication-management is displayed twice and i dont know why. From the structure of my application it seems like it shouldn’t be visible as root but somehow is. Here is the communication-management’s pom: and this is how i

JavaFX and Maven in Intellij: JAVA_HOME set but “Unrecognized option –module-path” error persisting

Using Maven and JavaFX in Intellij (2019.1). I have been following this tutorial. I have a curious error that keeps occurring – every time I keep running the javafx:run plugin, it fails, giving this error: However, when I put the executable in the javafx-maven-plugin (<executable>”C:Program FilesJavajdk-12.0.1binjava.exe”</executable>) it works. I am on Windows and have set the JAVA_HOME system environment variable

Advertisement