query stringlengths 1 74.9k | positive stringlengths 0 174k | negative stringlengths 1 174k | label float64 1 1 | task_name stringclasses 33 values |
|---|---|---|---|---|
Java launch error selection does not contain a main type | Selection does not contain any Java files from eclipse | Create new instance on launch | 1 | stackoverflowdupquestions |
No active contexts for scope type javax.enterprise.context.RequestScoped when invoking a bean from a thread | Why am I getting a WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped exception? | JSF2: Pass objects from one requestscoped bean into another Requestscoped bean? | 1 | stackoverflowdupquestions |
Using Java To Download Files From a HTTPS URL | Download file from HTTPS server using Java | What should I do to make my Java web application to use HTTPS? | 1 | stackoverflowdupquestions |
Displaying a 2D array of integers as an image in Java | How to convert a 2d array of integers to an image in java? | Java 2D array encirclement | 1 | stackoverflowdupquestions |
How do I configure Maven for offline development? | How do I configure Ivy to be used offline? | GWT/Web Java offline application example | 1 | stackoverflowdupquestions |
Spring Security Logout doesn't work with Spring 4 CORS | Spring Data Rest and Cors | Redirect for logout Spring Security | 1 | stackoverflowdupquestions |
How to check if resultset has one row or more? | Java ResultSet how to check if there are any results | Need help for ResultSet in java | 1 | stackoverflowdupquestions |
JavaFX is now out: Are Applets and Java Desktop officially dead/dying? | Is JavaFX a replacement for Java Applets? | Where did all the java applets go? | 1 | stackoverflowdupquestions |
How to Sort an Arraylist of Date in ascending and descending order which is in String format | How to Sort Date in descending order From Arraylist Date in android? | Quick Sort Sorts Descending Not Ascending | 1 | stackoverflowdupquestions |
Why would one declare a Java interface method as abstract? | Do we need to declare interface methods as abstract | When should I declare abstract methods? | 1 | stackoverflowdupquestions |
Sum up fields based on another field in a stream | Sum attribute of object with Stream API | Imageiio can't create imageinput stream | 1 | stackoverflowdupquestions |
com.owlike.genson.JsonBindingException: Could not deserialize to type class com.sun.jersey.api.representation.Form | Genson with Jersey JsonBindingException: Could not deserialize to type class java.lang.String | JAX-RS: Jersey + Genson = MessageBodyProviderNotFoundException | 1 | stackoverflowdupquestions |
Streaming a pdf file from JAX-RS Response: '401: Unauthorized' for url | JAX-WS WebService Client - "Response: '401: Unauthorized' for url" | JAX-RS run a function only once | 1 | stackoverflowdupquestions |
java.lang.reflect.invocationtargetexception error in applet | InvocationTargetException in Java Web Start applet/application | how to resolve the java.lang.reflect.InvocationTargetException in maven | 1 | stackoverflowdupquestions |
Spring - is it possible to get all packages, registered with @ComponentScan? | How to get list of Interfaces from @ComponentScan packages | @ComponentScan doesn't work in Spring boot AutoConfiguration class? | 1 | stackoverflowdupquestions |
Parse RSS pubDate to Date object in java | Parse DIFFERENT RSS pubDate to Date object in java | Image URL from RSS | 1 | stackoverflowdupquestions |
How to serialize a third-party non-serializable final class (e.g. google's LatLng class)? | In java how do I serialize a class that is not marked Serializable? | Google Maps Marker doesn't show with List<LatLng> | 1 | stackoverflowdupquestions |
java.rmi.MarshalException | RMI - run client code on Eclipse throws MarshalException while execute from console works fine | Java RMI Reference | 1 | stackoverflowdupquestions |
How pause and then resume a thread? | How to pause all running threads? and then resume? | Pause-Resume Audio on button click | 1 | stackoverflowdupquestions |
Is there a Java equivalent or methodology for the typedef keyword in C++? | Implement typedef in Java | `final` keyword equivalent for variables in Python? | 1 | stackoverflowdupquestions |
Why is CompletableFuture.supplyAsync succeeding a random number of times? | instance of CompletableFuture cannot get expected result | Java CompletableFuture: only first result | 1 | stackoverflowdupquestions |
Include Perl in Java | How should I call a Perl Script in Java? | Calling Java .jar Program from Perl using System() | 1 | stackoverflowdupquestions |
The public type <<classname>> must be defined in its own file error in Eclipse | The public type <<classname>> must be defined in its own file: bad style or nice feature | Classname + $ . What causes it? | 1 | stackoverflowdupquestions |
How to create an executable (a file that starts the program on double-click like an .exe) in JAVA with Eclipse? | Java - eclipse - get the .exe file | How to make a Python script an executable program | 1 | stackoverflowdupquestions |
Loading of the native code library for start0() native method in Thread class | Java native method source code | Loading a native library in an Android JUnit test | 1 | stackoverflowdupquestions |
Synchronous RPC Calls in GWT | Fake a GWT Synchronous RPC call | GWT RPC array access | 1 | stackoverflowdupquestions |
Call pl/sql function in java? | How to call PL/SQL function without parameters in java | PL/SQL procedure call in Java | 1 | stackoverflowdupquestions |
Continue Execution even after program catches exception | java exception to continue code loop | Concurrent sorted task executor that catches Exception in Java | 1 | stackoverflowdupquestions |
Producer consumer not giving desired result | Producer Consumer Problem | Need help with Java Producer Consumer Problem, NullPointerException | 1 | stackoverflowdupquestions |
Fastest way to strip all non-printable characters from a Java String | How to detect and replace non-printable characters in a string using Java? | Fastest way to find a string in a text file with java | 1 | stackoverflowdupquestions |
Application thread keeps running | Thread keeps running even after application has been stopped in Websphere | How Java keeps reference to a Stack? | 1 | stackoverflowdupquestions |
Setting JAVA_HOME environment variable on MAC OSX 10.9 | What should I set JAVA_HOME to on OSX | OSX Java App Bundle works on one Mac, but not on another. | 1 | stackoverflowdupquestions |
get() or elementAt() in Java | What's the difference between get(int index) and elementAt(int index)? | LimitedTreeMap in Java | 1 | stackoverflowdupquestions |
Assertion VS Runtime exception | Exception Vs Assertion | No assertion builder for type {http://schemas.xmlsoap.org/ws/2005/07/securitypolicy} | 1 | stackoverflowdupquestions |
Reading Element attribute value using XStream | How to read list elements with attribute via XStream | Using MapConverter in XStream | 1 | stackoverflowdupquestions |
Does Java read integers in little endian or big endian? | write a function that determines whether a computer is big endian or little endian in java | How do you convert a string to a 32-bit big-endian number in Java? | 1 | stackoverflowdupquestions |
Are there any real life uses for the Java byte primitive type? | Anyone using short and byte primitive types, in real apps? | Get Class of a primitive number type from a String | 1 | stackoverflowdupquestions |
How to add jdk8 in Eclipse Indigo | How to have Eclipse use JDK8 to compile a project? | Eclipse Indigo - JPA Validation Problems | 1 | stackoverflowdupquestions |
What's the difference between <?> and <? extends Object> in Java Generics? | What is the difference between ? and Object in Java generics? | Java Generics with "extends" | 1 | stackoverflowdupquestions |
Rijndael support in Java | Decrypt Rijndael 256 (from PhP) encoded text in java with little information | Java SNIServerName support in Java 7 | 1 | stackoverflowdupquestions |
Deploy SNAPSHOT to oss.jfrog.org (JCenter) | Return code is: 409, ReasonPhrase:Conflict (JCenter) | What exactly is a Maven Snapshot and why do we need it? | 1 | stackoverflowdupquestions |
Difference between printStackTrace() and toString() | How do I write the exception from printStackTrace() into a text file in Java? | java's printStackTrace() equivalent in python | 1 | stackoverflowdupquestions |
Generating header/footer with flying saucer (xHTMLRenderer) and iText | With Flying Saucer, how do I generate a pdf with a page number and page total on every page at the footer? | iText flying-saucer how to change background on last page | 1 | stackoverflowdupquestions |
clickable links in JOptionPane | URL in JOptionPane | Java: JOptionPane Input | 1 | stackoverflowdupquestions |
How to install java jdk 7 on Snow Leopard | How to install JDK 8 on Mac OS X Snow Leopard? | com.apple.mrj.application Missing for Native Swing Menu Bar support for MacOS X Snow Leopard | 1 | stackoverflowdupquestions |
Nimbus L&F missing divider at JTabbedPane set to scroll | JTabbedPane: avoid automatic re-ordering tabs if stacked / Nimbus | How can I set scroll tab layout to my JTabbedPane? | 1 | stackoverflowdupquestions |
Replace google-collect Lists.newArrayList() with other List | Lists.newArrayList vs new ArrayList | Collect Linux command output | 1 | stackoverflowdupquestions |
Convert a RGB Color Value to a Hexadecimal String | Convert RGB to Hexadecimal | Java: EpochSecond in Hexadecimal format | 1 | stackoverflowdupquestions |
java.lang.UnsupportedClassVersionError: com/mysite/folders/Folders : Unsupported major.minor version 51.0 | How to fix java.lang.UnsupportedClassVersionError: Unsupported major.minor version | Java 6 Unsupported major.minor version 51.0 | 1 | stackoverflowdupquestions |
Creating struct like data structure in Java | Creating data structure in Java | How to use a struct with a struct in jnr ffi | 1 | stackoverflowdupquestions |
How to generate class diagrams and sequence diagrams from existing code? | Creating UML Class Diagrams in NetBeans 7.1.1 | Java code which creates UML diagrams | 1 | stackoverflowdupquestions |
JTextPane - Bullet with HTMLEditorKit list not rendering correctly unless I do setText(getText()) and repaint | How to implement bullet points in a JTextPane? | JTextPane.setText(JTextPane.getText()) clear gaps in HTML mode | 1 | stackoverflowdupquestions |
How do I get localized date pattern string? | SimpleDateFormat Illegal pattern character error with localized pattern | Handle localized string contains a link in a single TextView | 1 | stackoverflowdupquestions |
How to call REST API for azure file storage using postman? | How to call REST API through postman to create index in Azure? | Which Azure storage management jar to use | 1 | stackoverflowdupquestions |
How To Modify The Raw XML message of an Outbound CXF Request? | Saving outbound messages in CXF interceptor | how to get the outbound HTTP request of a certain exe application? | 1 | stackoverflowdupquestions |
JavaMail check message content gmail IMAP | Reading all new messages from my gmail using javamail | IllegalWriteException when trying to write flags in JavaMail IMAP | 1 | stackoverflowdupquestions |
JButton from image | Image on JButton | how can i put a JButton on an image? | 1 | stackoverflowdupquestions |
java system preferences under different users in linux | Java - Setting Preferences backingstore directory | Java: Understanding Preferences | 1 | stackoverflowdupquestions |
Difference between Java Enumeration and Iterator | Confusion about collections, enumeration, and iterator in Java | Iterator or Enumeration, What should I use? | 1 | stackoverflowdupquestions |
Get the real size of a JFrame content | Get the real size of a JFrame content (NEW) | Error java JFrame | 1 | stackoverflowdupquestions |
Java performance String.indexOf(char) vs String.indexOf(single String) | Which String method: "contains" or "indexOf > -1"? | Wrong indexOf in String Array | 1 | stackoverflowdupquestions |
Error "ClassNotFoundException" in IntelliJ IDEA | fix ClassNotFoundException in intellij | IntelliJ 14 Java and Scala ClassNotFoundException | 1 | stackoverflowdupquestions |
Changing timezone without changing time in Java | JAVA: Weird behaviour when changing TimeZone of Calendar object without changing the Date/Time | Changing value of variable in a file | 1 | stackoverflowdupquestions |
How to get the PID of running application in Windows? | Get PID of Runtime process using JNI | how to find process name from pid in java? | 1 | stackoverflowdupquestions |
What is the difference between Binding and Dispatching in Java? | What is dispatching in java | Dispatching requests from a servlet to jsp | 1 | stackoverflowdupquestions |
Displaying Currency in Indian Numbering Format | I need Indian currency format like 100000 as 1,00,000 , 1234 as 1,234 | Get number from Text only with currency Java | 1 | stackoverflowdupquestions |
What does super() do here | super() in Java | Java question about super | 1 | stackoverflowdupquestions |
Can Java launch the Windows UAC? | Elevating a ProcessBuilder process via UAC? | Launch main method from object with type "Class<?>" | 1 | stackoverflowdupquestions |
How to convert a local date to GMT | Milliseconds to Date in GMT in Java | Java, How to change GMT time to local time? | 1 | stackoverflowdupquestions |
Hadoop: Cannot use Jps command | Hadoop : JPS can not find Java installed | Hadoop GenericOptionsParser | 1 | stackoverflowdupquestions |
Mockito: How to mock an interface of JodaTime | How can I mock JodaTime actual date? | Use mockito to mock method with Object parameter | 1 | stackoverflowdupquestions |
How to hide the knob of jSlider? | how to put image on jslilder's knob of swing in java? | Java Swing JSlider | 1 | stackoverflowdupquestions |
java : Unparseable date Exception | SimpleDateFormat "Unparseable date" Exception | Java date parse string (Unparseable date) | 1 | stackoverflowdupquestions |
How to resize JLabel ImageIcon? | Resizing JLabel ImageIcon with HTML | If I already have a JLabel with an ImageIcon, If I change the ImageIcon and then pack the frame, it doesn't pack | 1 | stackoverflowdupquestions |
Running Java gives "Error: could not open `C:\Program Files\Java\jre6\lib\amd64\jvm.cfg'" | Java path..Error of jvm.cfg | Why is access restricted to jre6/lib/rt.jar for OperatingSystemMxBean? | 1 | stackoverflowdupquestions |
Impact of changes on singleton class loaded by different classloaders | Singleton class with several different classloaders | Changing the Priority of Java Classloaders | 1 | stackoverflowdupquestions |
Java eqivalent method of "splice(a,b,...)" in JavaScript method | How to write a method like splice in Java | javascript call from java code | 1 | stackoverflowdupquestions |
Does make sense to use DAO pattern with ORM systems? | DAO vs ORM(hibernate) pattern | Generic Dao Pattern: lookup Dao by class | 1 | stackoverflowdupquestions |
XMLHttpRequest in Rhino? | XMLHttpRequest over HttpClient in Rhino | How to use the information in XMLHttpRequest.send(string) | 1 | stackoverflowdupquestions |
Initialize final variable in constructor | Initialize a static final field in the constructor | How to initialize a final object array | 1 | stackoverflowdupquestions |
String contains - ignore case | Ignore case for 'contains' for a string in Java | Java Run System Command and Ignore Output | 1 | stackoverflowdupquestions |
Highlight differences between images | android compare 2 images and highlight difference | Highlight words in PDF | 1 | stackoverflowdupquestions |
Java byte[] to String not working when assigned to String | Java byte to string | Interconversion of String into byte[] and byte[] into String in JAVA | 1 | stackoverflowdupquestions |
How to mock the default constructor of the Date class with JMockit? | JMockit mock constructor | jMockit - How make constructor invocation to return a mock | 1 | stackoverflowdupquestions |
Access static property or method in JSP via EL 3.0 (JEE7; Tomcat 8) | Access static members in JSF via EL 3 (Tomcat 8.0.14/27) | Property not found on type when using interface default methods in JSP EL | 1 | stackoverflowdupquestions |
Accessing outer inner class from nester inner class | In Java, how do I access the outer class when I'm not in the inner class? | Java get outer class from inner class? | 1 | stackoverflowdupquestions |
ANT JAR file for JavaFX Application | Compile JavaFX Code using ANT | Running a class from within a jar using ant | 1 | stackoverflowdupquestions |
Java: Rationale of the Cloneable interface | Why is Cloneable not deprecated? | how to create clone of an object which does not implement Cloneable | 1 | stackoverflowdupquestions |
Strange behavior of Class.getResource() and ClassLoader.getResource() in executable jar | What is the difference between Class.getResource() and ClassLoader.getResource()? | File not found in getResource | 1 | stackoverflowdupquestions |
make wadl file resteasy without maven | Can I get application.wadl file using RESTeasy? | Include possible values of @PathParam to WADL | 1 | stackoverflowdupquestions |
Can't find @Nullable inside javax.annotation.* | Java. Which @Nullable should I use to mark return value with one? | Is there standard Option or Nullable class in Java? | 1 | stackoverflowdupquestions |
Using Prepared Statements to set Table Name | Variable column names using prepared statements | Cannot insert into database with prepared statements | 1 | stackoverflowdupquestions |
HttpClient 4.0.1 - how to release connection? | HttpClient: How to have only one connection to the server? | Apache HttpClient is running out of connection but I'm not sure why? | 1 | stackoverflowdupquestions |
Profiling a Java Spring application | Beyond Profiling a Java Spring application with Spring AOP | Advanced Java profiling | 1 | stackoverflowdupquestions |
JAX-WS and XSD Validation | JAX-WS request validation using JAXB | Using a custom class as a JAX-WS return type? | 1 | stackoverflowdupquestions |
How do I configure HikariCP in my Spring Boot app in my application.properties files? | Configure HikariCP in Spring Boot with JTDS | How can I use sqlite user function api with HikariCP? | 1 | stackoverflowdupquestions |
Get domain name from given url | Extract main domain name from a given url | Get domain name from URL in Java/Android | 1 | stackoverflowdupquestions |
Unmanaged Threads Spring Quartz Websphere Hibernate | Websphere JNDI lookup fails in a Quartz job | Can not use Websphere WebSphereUowTransactionManager with Spring 3.0 on WAS 7.0 | 1 | stackoverflowdupquestions |
How can i find out where a BufferedImage has Alpha in Java? | Set BufferedImage alpha mask in Java | How to create BufferedImage with a separate alpha raster | 1 | stackoverflowdupquestions |
Best practices for using Markers in SLF4J/Logback | are multiple features a good use case for logback markers? | Convert LOG4J Priority.class >> SLF4J + logback | 1 | stackoverflowdupquestions |
End of preview. Expand
in Data Studio
README.md exists but content is empty.
- Downloads last month
- 27