Java
-
Java – why do void methods get NullPointerException on mock objects?
I am writing unit tests for my java application, which analyzes the submission to stash, an atlas application similar …… -
Java – IntelliJ – coding style issues
Sorry for the wide range of questions, but how do I set IntelliJ to wrap long method calls as follows: The style of al…… -
When using async driver for Java, not all documents are inserted into mongodb
I'm trying to use the mongodb async driver( http://mongodb.github.io/mongo-java-driver/3.0/driver-async/ )And notice…… -
Java – unable to execute jshell from Mac terminal
I currently use Java 1.8 on MAC Sierra java -version java version "1.8.0_51" Java(TM) SE Runtime Environment (build 1.…… -
Java – how to speed up the batch operation of Oracle normal statements?
I am developing tools to continuously export changes from mongodb to Oracle database I have a problem executing batch …… -
Java – postreceive on channel ‘outputchannel’, message is null
I have a spring integration application that uses the httprequesthandling messaging gateway to accept JSON requests, s…… -
How to set up a custom DNS server using java 8 and open JDK?
How to use Java 8 and open JDK to set up a custom DNS server to resolve host names? I tried the following from other s…… -
Java – reducer and MapReduce do not display errors, but do not provide the required output
Sales driver class package mr.map; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.Path; imp…… -
java. Lang.illegalstateexception: cannot read line 0 col 0 from cursorwindow
I need to get all the data from the table. I use the following code to perform the same operation in the SQLite dbhelp…… -
Java string pool – how to store strings on the heap
See English answers > what is the Java string pool and how is "s" different from new string ("s")? 5 String s1 = "H…… -
Java – fixed incompatibility between lwjgl 3 and slick util
What I want to do is map the texture to the OpenGL model in lwjgl I know that lwjgl 3 and slick util sometimes work to…… -
Java – dynamic spinners – if you select an item from one spinner, hide it from the other spinners – Android
How do I hide items in other spinners currently selected in one spinner? I've tried to delete the item through the Arr…… -
Java – dagger 2 has no initialization variables
Now I'm trying to implement dagger in my project. I have a problem Variables initialized in application components are…… -
java – Android:Generating Elliptic Curve KeypPair
I am trying to realize key generation based on elitic curves Diffie Hellman Now I want to specify my Eliptic curve mys…… -
Java – filter collections by multiple attributes of their elements – querydsl
I am studying the dynamic filter component based on query DSL and using spring data for query execution Therefore, I c…… -
How to track pending HTTP requests in angle 2
I want angular 1 $HTTP in angular 2 A substitute for pendingrequest or anything that follows the interceptor's global …… -
How to attach a modal dialog to the main window in JavaFX?
Examples of additional modal conversations: Is there any way to bring it to JavaFX? Solution Support for additional di…… -
How to format multiline tostring() using printf in Java
Therefore, for my beginner programming class, we must write a program focusing on inheritance. We can create and input…… -
Java – why does it always call the parent method “dotest (double D)”?
See English answers > polymer in overloaded and overridden methods 4 class PolymorphisomTest { class Base { …… -
neo4j periodic commit apoc. load. jdbc
I have an Oracle table with > 200m rows. I want to use APOC load. Load JDBC into neo4j How to finish this work with…… -
Java – ant – disable ivy to get dependencies for each run
Several custom spark working programs I execute depend on other libraries Whenever I execute them using spark submit, …… -
Java – how to exclude packages from context using @ webmvctest
I want to test application slices, but there is a package I want to exclude because it has nothing to do with those te…… -
After upgrading to Java 8 and build tool version 25, the Android test case failed
I have a bunch of normal test cases However, once my project is updated to build tool version 25 and Java has been upd…… -
Java – how to use “size” as the field name in Hibernate / JPA entities?
I have two JPA entities: virtuallot and virtualfiles Virtualfiles extends virtualinode VirtualFile. java @Entity @Tabl…… -
Java – Cross class access H2 connection
I'm trying to avoid static and singleton and integrate the local H2 database into my JavaFX application (java8) The ot…… -
Java valueof (int) with integercache returns a value of 3 (1) for valueof
I face the problem of integercache: Just call the database program { call UPDATE_PROC(?,?,?) } with params : [123,234…… -
Java – dynamic table name in Cassandra POJO sink Flink
I'm new to Apache Flink I am using POJO sink to load data into Cassandra Now, I specify the table and key space names …… -
How to best lock files in a Java cluster
I have a server cluster running on JBoss I need to update the file in a safe way Specifically, I need >Lock file a …… -
Java – Tomcat multithreading deployment using managerservlet
I have 30 wars in tomcat, and there are dependencies between them So we have a servlet to deploy them sequentially Now…… -
How to change the line spacing of textarea in JavaFX
I want to change the linespacing (line height) of textarea. How is it possible? CSS is not helpful. I tried the follow…… -
Java – spring cannot configure the authorization server
I created a simple authorization server, but I couldn't configure it >Start two applications (8080 for auth server …… -
Java references objects that are not in scope
When my java project gets bigger, a question will always pop up: is there a simple way to reference specific objects t……
