Dataset Viewer
Auto-converted to Parquet Duplicate
query
stringlengths
12
150
positive
sequence
negative
sequence
Java launch error selection does not contain a main type
[ "Error: Selection does not contain a main type", "Selection does not contain any Java files from eclipse" ]
[ "Selection Sort in Java", "App used to launch now it does not", "Eclipse: \"selection does not contain a main type\" error when main function exists", "Eclipse Main program Launch error", "Why do I get the \"Selection does not contain a main type\" when my class has a main?", "Can't launch app with ParseL...
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?" ]
[ "Working with different contexts with JUEL", "Not getting request parameters in @RequestScoped ManagedBean", "Variable of same class in separate contexts", "@Remote EJB which uses @RequestScoped CDI bean", "Difference between Java Bean and Enterprise Java Beans?", "REST endpoint - Singleton vs RequestScop...
Using Java To Download Files From a HTTPS URL
[ "Download file from HTTPS server using Java" ]
[ "Java how to find out if a URL is http or https?", "Simple Java HTTPS server", "from http to https", "Java: download web content from Google https", "Download file from HTTPS in browser on android", "where can i find an example of how to setup https on java where https is not supported", "VirusTotal HTT...
Displaying a 2D array of integers as an image in Java
[ "How to convert a 2d array of integers to an image in java?" ]
[ "Storing integers from file to 2D array", "Displaying the elements of 2d array", "Messup with 2D string array in java", "java - displaying a list", "Why doesn't my 2D array displaying properly and doesn't display input", "int[] Array displaying", "Image not displaying with random", "Displaying image f...
How do I configure Maven for offline development?
[ "How do I configure Ivy to be used offline?" ]
[ "Use maven offline", "Offline Javadoc Server", "GWT/Web Java offline application example", "Offline Java Documentation", "could the first ever maven build be made offline?", "Android - application depending on own api - server offline", "How do i view or access java docs offline?", "javadoc location f...
Spring Security Logout doesn't work with Spring 4 CORS
[ "Spring Data Rest and Cors" ]
[ "Spring Security remember me logout issue", "Login Logout use case in Spring security", "Spring Security - Simple CORS authentication error", "Which way is correct for setting CORS in new Spring?", "CORS doesn't work for different url", "how to correctly logout user in spring security", "Spring Security...
How to check if resultset has one row or more?
[ "Java ResultSet how to check if there are any results" ]
[ "How to get data from a specific row in using a ResultSet object?", "Need help for ResultSet in java", "Resultset To List", "How to get row count using ResultSet in Java?", "ResultSet to Array", "Working with a ResultSet", "Check ResultSet values one by one", "ResultSet to String java?", "Error whil...
JavaFX is now out: Are Applets and Java Desktop officially dead/dying?
[ "Is JavaFX a replacement for Java Applets?" ]
[ "Dead Code Error in Java", "Applets in Java", "Why do applets not need a main()?", "Session dying when using curl from command line", "Why is this code dying on Windows?", "Java+Tomcat, Dying database connection?", "I can't run my own applets in browser", "Why is my RMI server dying after 20 hours", ...
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?" ]
[ "sort array of objects in descending order", "sort arraylist in ascending order", "Find out which row is sorted and if it is ascending or descending", "print range of integers in descending or ascending order in java", "Ascending / Descending order in object array using element length", "Sorting Custom Ob...
Why would one declare a Java interface method as abstract?
[ "Do we need to declare interface methods as abstract", "In Java, when should I use an abstract method in an interface?" ]
[ "Interface or Abstract class", "When should I declare abstract methods?", "Same method in Interface and Abstract class", "Java abstract interface", "What should I declare my object with when the class has an interface and a abstract superclass?", "interface/abstract class", "Abstract Data Type and Inter...
Sum up fields based on another field in a stream
[ "Sum attribute of object with Stream API" ]
[ "Java stream. Sum two fields in a stream of objects", "Sum of list of object fields using stream", "How to use stream filter and sum", "Java Stream- Add two columns and sum results", "Java 8 Stream add elements to list and sum", "Java stream : first element of the stream minus the sum of the rest of the s...
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" ]
[ "Parse JSON Date from POST with Genson and Jersey", "JAX-RS: Jersey + Genson = MessageBodyProviderNotFoundException", "com.omdbapi.OmdbConnectionErrorException error", "Genson 1.4 (JSON) not processing inherited Pojo's", "Genson Polymorphic / Generic Serialization", "Difference com.sun.jersey and org.glas...
Streaming a pdf file from JAX-RS Response: '401: Unauthorized' for url
[ "JAX-WS WebService Client - \"Response: '401: Unauthorized' for url\"" ]
[ "Getting 401 unauthorized error in retrofit?", "Eclipse Web Services Test Client and Exception: (401) Unauthorized error", "JAX RS get list of objects", "JAX-RS NoMessageBodyWriterFoundFailure", "JAX-RS run a function only once", "jax-rs Response entity class", "jax-rs and server name", "Java Jax rs i...
java.lang.reflect.invocationtargetexception error in applet
[ "InvocationTargetException in Java Web Start applet/application" ]
[ "Showing error Caused by: java.lang.reflect.InvocationTargetException", "JavaFX Exception in Application constructor java.lang.reflect.InvocationTargetException", "Using hibernate to insert to database but gets java.lang.reflect.InvocationTargetException exception", "Exception in java.lang.reflect.InvocationT...
Spring - is it possible to get all packages, registered with @ComponentScan?
[ "How to get list of Interfaces from @ComponentScan packages" ]
[ "multiple @ComponentScan in Spring 4?", "ComponentScan excludeFilters Not Working In Spring 4.0.6.RELEASE", "How to proper create bean Spring using annotations Bean and ComponentScan?", "Spring ComponentScan package-structure", "<context:componentscan> how does it work?", "Spring Boot - Spring security @C...
Parse RSS pubDate to Date object in java
[ "Parse DIFFERENT RSS pubDate to Date object in java" ]
[ "No RSS data is showing up", "How to write an RSS feed with Java?", "no value for rss, though it's obviously there", "How to return RSS with REST service?", "joda - parsing time zone of pubDate in RSS item", "How to parse image or image url from Rss xml", "How to read RSS feed using an xAgent?", "Andr...
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?" ]
[ "How to store ArrayList<LatLng> on Sqlite database?", "Passing an ArrayList of LatLng through intent", "Java Serializable object contains non-Serializable fields", "Why we don't need to implement Serializable to serialize to xml", "How to serialize fields of super-classes as well as the serializable class",...
java.rmi.MarshalException
[ "RMI - run client code on Eclipse throws MarshalException while execute from console works fine" ]
[ "rmi class can not found exception", "Running Java RMI", "Getting Java RMI up and running", "RMI - do I get it right?", "Cannot get SocketPermission to work with RMI", "Simple RMI Application", "javax.ejb.EJBException: java.rmi.MarshalException", "how to create rmi in java", "java.rmi.ConnectIOExcep...
How pause and then resume a thread?
[ "How to pause all running threads? and then resume?" ]
[ "Pause-Resume Audio on button click", "Swing animation pause and resume", "How to pause / resume Java Threads", "Implementing pause/resume function in Java game", "Pause/resume functionality for a game", "Java Threads: Pause/Resume Thread vs Terminiate/Start New Thread", "Android: How to pause and resum...
Is there a Java equivalent or methodology for the typedef keyword in C++?
[ "Implement typedef in Java" ]
[ "Using a wrapper class for a typedef equivalent in Java; must I expose the class variable?", "Methodology for upgrading OS Kernel", "Game architecture & methodology (screens/effects)", "Is There A Java Equivalent To C# Out Keyword", "What is the equivalent of the C# 'var' keyword in Java?", "JPA Hibernate...
Why is CompletableFuture.supplyAsync succeeding a random number of times?
[ "instance of CompletableFuture cannot get expected result" ]
[ "Creating a generic array for CompletableFuture", "CompletableFuture withFallback / handle only some errors", "How to get results from the CompletableFuture", "How to subclass CompletableFuture?", "Java CompletableFuture: only first result", "How to log if a completableFuture fails?", "Throwing exceptio...
Include Perl in Java
[ "How should I call a Perl Script in Java?" ]
[ "How can I call Perl from Java?", "How do I find out which version of Java I am using Perl?", "Perl array as an object variable", "Calling Java .jar Program from Perl using System()", "java equivalent for system() command in perl", "Is there a Perl implementation in Java?", "looking for help call a perl...
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" ]
[ "is there an equivalent to 'classname.this' from java in c++?", "Difference between <className>.class and this(representing the <classname>)", "eclipse: import (classname) cannot be resolved", "What is ClassName.this?", "Is raw type of ClassName equivalent to ClassName<Object>?", "How to convert List<?> t...
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" ]
[ "What can we do with an exe program?", "Create a java executable with Eclipse", "Java .jar executable not opening (on double click)", "Creating java executable in eclipse", "2 executable in a method in java", "How to make executable jar file with eclipse", "How to make a Python script an executable prog...
Loading of the native code library for start0() native method in Thread class
[ "Java native method source code" ]
[ "Loading a native library for Android using Eclipse", "Is Java on Android native or not?", "native app get batterylevel", "Java native error in Android", "Why is String.intern() a native method?", "Java Native Process Library", "Use method from other class like native methods?", "Using native code in ...
Synchronous RPC Calls in GWT
[ "Fake a GWT Synchronous RPC call" ]
[ "GWT RPC. Share RPC service bwtween two modules", "Flow after RPC call in GWT?", "GWT RPC - Multiple RPC Services", "GWT - synchronous return of a method", "Cannot Get GWT-RPC Working Properly", "Two Java RPC Calls or One", "How do I use a GWT RPC to save a file on the client side?", "GWT. Order of RP...
Call pl/sql function in java?
[ "How to call PL/SQL function without parameters in java" ]
[ "PL/SQL object member function - java method", "Execute a PL/SQL procedure using Java code", "Java: Send array to a PL-SQL function", "Fetch pl/sql array return values in java", "Check list of values is NULL in PL/SQL", "PL/SQL procedure call in Java", "How to return an array from Java to PL/SQL?", "G...
Continue Execution even after program catches exception
[ "java exception to continue code loop" ]
[ "try catch continue execution on exception", "JAVA - continue after file not found exception", "Continue the execution after exception", "Multi-catches are not supported a this language level", "Execution Problem", "Continue program after exception", "JUnit test catches exception only after Assert is ca...
Producer consumer not giving desired result
[ "Producer Consumer Problem" ]
[ "Thread Producer-Consumer java", "Custom Producer Consumer", "Suggestions on my implementation of Producer Consumer", "is it possible to use a thread consumer / producer at same of time?", "design of a Producer/Consumer app", "Producer/consumer pattern in Java", "Consumer Producer doesn't work in java",...
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?", "Remove non printable utf8 characters except controlchars from String", "How can I replace non-printable Unicode characters in Java?" ]
[ "Fastest way to find a string in a text file with java", "java awt printable and print", "Fastest way to remove all characters between '/' in a String", "Printable not working properly", "Non-Printable Characters xsd", "Fastest way to write to file?", "Java regex match non printable characters except \\...
Application thread keeps running
[ "Thread keeps running even after application has been stopped in Websphere" ]
[ "How Java keeps reference to a Stack?", "input on date keeps reapeating java", "While loop keeps on running though the condition is false", "Get running time of a thread java", "Thread method not running?", "Eclipse keeps running my old web application", "Twodimensional ArrayList keeps adding new values...
Setting JAVA_HOME environment variable on MAC OSX 10.9
[ "What should I set JAVA_HOME to on OSX" ]
[ "Java 1.7 on OSX 10.9.2 running as 1.5?", "Java 7 won't work in mac osx 10.8.2", "Location of Java examples on Mac OSX", "How to provide file path in Mac OS X while creating a file in java?", "im4j on Mac OSX not able to run commands", "change environment variable in mac", "I made a Mac OSX app from .ja...
get() or elementAt() in Java
[ "What's the difference between get(int index) and elementAt(int index)?" ]
[ "Java thesauraus", "java :OverlappingFileLockException", "How to get an unmodifiableLinkedHashSet", "How to get getSherlockActivity()?", "Can't referr to my get method", "How do I get LdapAttributes", "get onVisibilityChangeActionListener", "How do I get the leftNavLibrary?", "Pattern.compile java",...
Assertion VS Runtime exception
[ "Exception Vs Assertion", "When to use an assertion and when to use an exception" ]
[ "No assertion builder for type {http://schemas.xmlsoap.org/ws/2005/07/securitypolicy}", "Make java program exit if assertion fails", "Getting description of failed assertion", "Java Assertion Question", "Assertion issue in Java and Eclipse", "Why can't we use assertion for public methods?", "Java unit t...
Reading Element attribute value using XStream
[ "How to read list elements with attribute via XStream" ]
[ "Read whole file using XStream", "How to use addImplicitMap method of Xstream?", "How do you annotate a java object to add an attribute to a single element using XStream?", "XStream useAttributeFor not working", "XStream or Simple", "get xml as string instead of class with xstream", "XStream- not includ...
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 to keep the received little-endian data as is in Java?", "How do you convert a string to a 32-bit big-endian number in Java?", "Big endian encoding in java socket from string", "Difference between C# and java big endian bytes using miscutil", "Fast reading of little endian integers from file", "Big-e...
Are there any real life uses for the Java byte primitive type?
[ "Anyone using short and byte primitive types, in real apps?" ]
[ "Java Instance of Class Life Time", "How to create a Class of primitive array?", "Why int primitive type not deprectaed in Java", "java primitive type array object or not?", "How is this possible for primitive data type?", "Primitive data type variables in Java", "Java: Convert Primitive Class", "Get ...
How to add jdk8 in Eclipse Indigo
[ "How to have Eclipse use JDK8 to compile a project?" ]
[ "Dynamic arrays in JDK8", "How should we manage jdk8 stream for null values", "slow JDK8 compilation", "How to import javax.faces library in Eclipse using JDK8?", "How can I use Java 7 with Eclipse Indigo 3.7.1", "Strange Error in Eclipse Indigo", "Building Jar file using Eclipse Indigo", "How to use ...
What's the difference between <?> and <? extends Object> in Java Generics?
[ "What is the difference between ? and Object in Java generics?" ]
[ "What is the difference between '&' and ',' in Java generics?", "Java Generics extends", "correct java syntax for generics with extends", "Java Generics extends Loop", "What is the difference between 'E', 'T', and '?' for Java generics?", "Java difference between two methods (generics)", "What is the di...
Rijndael support in Java
[ "Decrypt Rijndael 256 (from PhP) encoded text in java with little information" ]
[ "Rijndael 128/256 decryption", "What file sytems support Java UserDefinedFileAttributeView?", "Rijndael 256 encryption: Java and .NET do not match", "Java support for web API", "Could not find method Compile() for arguments [com.android.support:support", "Android support for parseUnsignedLong?", "Java S...
Deploy SNAPSHOT to oss.jfrog.org (JCenter)
[ "Return code is: 409, ReasonPhrase:Conflict (JCenter)", "How can I deploy a Maven snapshot to oss.jfrog.org? Return code: 405" ]
[ "Maven deploy snapshot with scp throws NoSuchElementException", "Creating memory snapshot from inside the code (Java)", "Gradle eclipse plugin : Could not find method jcenter() for arguments [] on repository container. See error log for details", "How to deploy SNAPSHOT with sources and JavaDoc?", "How to t...
Difference between printStackTrace() and toString()
[ "How do I write the exception from printStackTrace() into a text file in Java?" ]
[ "Print full call stack on printStackTrace()?", "correctly printstacktrace of servlet exception", "e.printStackTrace equivalent in python", "Difference between object+\"\" and object.toString()", "Difference between @ and # in Java toString output?", "Java toString method difference", "How to use printst...
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?" ]
[ "is Flying Saucer project closed?", "How to create PDF by Flying Saucer without blocking HTTP response?", "Using an ampersand in flying saucer", "Relative paths in Flying Saucer XHTML?", "How to set base url in Flying-Saucer, while rendering HTML to PDF?", "Flying Saucer - html entities are not rendered",...
clickable links in JOptionPane
[ "URL in JOptionPane" ]
[ "JOptionPane with file output", "How can I pass string to a JOptionPane?", "Element is not at clickable point", "android:clickable=\"true\" mean's that it's not clickable?", "Multiple Clickable links in TextView on Android", "Using JOptionPane", "JoptionPane using for loop", "How to make listFooter no...
How to install java jdk 7 on Snow Leopard
[ "How to install JDK 8 on Mac OS X Snow Leopard?" ]
[ "Trouble working on Java app between Windows and Snow Leopard machines", "Compiling JVMTI agent (using GCC, on OSX Snow Leopard)", "JOGL Snow Leopard and Eclipse", "Building a Java EE app on Mac OS X Snow Leopard for Glassfish 3", "Does anyone know if NetBeans 6.x can be used with Java SE 6 on Leopard?", ...
Nimbus L&F missing divider at JTabbedPane set to scroll
[ "JTabbedPane: avoid automatic re-ordering tabs if stacked / Nimbus" ]
[ "swing nimbus ShadowEffect", "can't get this divider class", "Is it possible to make this type of jtabbedpane?", "Aligning icon to the left in JTabbedPane in Nimbus Look and Feel", "Jtabbedpane using multiple classes", "What's wrong with JSplitPanel (or JTabbedPane)?", "problem with jtabbedpane in java"...
Replace google-collect Lists.newArrayList() with other List
[ "Lists.newArrayList vs new ArrayList" ]
[ "Streams collect vs. map collect", "Collect Objects in Array", "Java 8 Filter and Collect of List<Map<String, Object>>", "Collect Linux command output", "How to collect two fields of an object into the same list?", "Java 8 collect, count with sum", "How to collect list from lambda expression", "How do...
Convert a RGB Color Value to a Hexadecimal String
[ "Convert RGB to Hexadecimal" ]
[ "Java: EpochSecond in Hexadecimal format", "Java color with RGB?", "How to print color as RGB", "Java: Hexadecimal Issue", "Getting same color with different RGB value in Java", "Print hexadecimal as hexadecimal", "Trying to convert Integer range to RGB color", "Create Color from rgb Stringin Java", ...
java.lang.UnsupportedClassVersionError: com/mysite/folders/Folders : Unsupported major.minor version 51.0
[ "How to fix java.lang.UnsupportedClassVersionError: Unsupported major.minor version" ]
[ "java.lang.UnsupportedClassVersionError: com/google/appengine/tools/development/agent/AppEngineDevAgent : Unsupported major.minor version 51.0", "mac-osx 10.9.4 Hadoop 2.7.1 Exception in thread \"main\" java.lang.UnsupportedClassVersionError: Unsupported major.minor version 51.0", "Maven/Jenkins java.lang.Unsup...
Creating struct like data structure in Java
[ "Creating data structure in Java" ]
[ "How do I use a more specific struct type in place of a more general one?", "struct.unpack_from in Java", "Convert python's struct.unpack code to java", "How to use a struct with a struct in jnr ffi", "Array of classes in JAVA (using it as a struct)", "Similar functionality for java to struct for python",...
How to generate class diagrams and sequence diagrams from existing code?
[ "Creating UML Class Diagrams in NetBeans 7.1.1" ]
[ "Are packages allowed in UML 2.0 class diagrams?", "Database modeller for JPA with visual diagrams", "Automatically Generate UML Instance Diagrams in NetBeans", "Why do class diagrams don't include all classes?", "How to generate state flow diagrams from XML in Java?", "Java API to create UML diagrams", ...
JTextPane - Bullet with HTMLEditorKit list not rendering correctly unless I do setText(getText()) and repaint
[ "How to implement bullet points in a JTextPane?" ]
[ "Toiling with HTMLEditorKit", "The methods setText() and getText() are undefined for the type String in Java?", "How to use gettext and settext", "changing the color of a setText() method using a JTextPane", "How to add method to JTextPane", "Swing HTMLEditorKit / JEditorPane doesn't handle <br> and empty...
How do I get localized date pattern string?
[ "SimpleDateFormat Illegal pattern character error with localized pattern" ]
[ "Non-localized strings in android", "Regex for validating alphabetics and numbers in the localized string", "What is a \"localized message\"?", "Localized date format in Java", "Displaying Date and Time separately from a String in localized format in Android", "Java - Handling localized fields for Objects...
How to call REST API for azure file storage using postman?
[ "How to call REST API through postman to create index in Azure?" ]
[ "unable to read the file from postman", "Executing the JUnit's for azure-storage-java project", "Azure, includeInlineCount();", "Error accessing a Web API which works well using POSTMAN", "Delete user's manager in Azure through REST api", "Using Azure Blob Storage with java MVC Azure Web Site", "How can...
How To Modify The Raw XML message of an Outbound CXF Request?
[ "Modify XML of CXF RequestSecurityToken before it gets encrypted", "Saving outbound messages in CXF interceptor" ]
[ "CXF SOAP Client outbound message has empty body", "CXF: Logging request and response", "netty pipeline order for outbound message", "Repeat CXF request in case of error", "Upgrading from CXF 2.7 to CXF 3.0", "Should LoggingInterceptors be static in CXF?", "Change HttpTransportFactory cxf 2.7.3", "Apa...
JavaMail check message content gmail IMAP
[ "Reading all new messages from my gmail using javamail" ]
[ "Getting the html content of a Gmail message twice when using Java IMAP", "javamail and gmail", "trying to open gmail folders without javamail", "Failed to connect to Gmail using IMAP", "How to properly delete a copied gmail message using javamail?", "How to Delete a Message after Reading it Via Gmail-Ima...
JButton from image
[ "Image on JButton" ]
[ "How to put a JButton with an image on top of another JButton with an image?", "JButton not working for me?", "add a function to JButton", "how can i put a JButton on an image?", "How to work with JButton?", "How to change JButton?", "Change JButton on down and on up?", "Jbutton over Jbutton backgroun...
java system preferences under different users in linux
[ "Java - Setting Preferences backingstore directory" ]
[ "Android: IF statement not working when set by preferences", "How do i change the look of my android preferences?", "User preferences", "How to set Preferences?", "Preferences in Java", "Android preferences issue", "How to create a Listener to Preferences changes in Preferences activity?", "Save a lis...
Difference between Java Enumeration and Iterator
[ "Java Enumeration vs Iterator", "Confusion about collections, enumeration, and iterator in Java" ]
[ "Iterator or Enumeration, What should I use?", "difference between iterator and enumeration", "How to use Enumeration?", "Converting an Enumeration to Iterator", "How to use Iterator/Enumeration Interface in Java", "How to create an object from an enumeration without all values in Java", "Java: What is ...
Get the real size of a JFrame content
[ "Get the real size of a JFrame content (NEW)", "JFrame : Getting actual content size" ]
[ "Java - Why i can't see my list in JFrame?", "How to import JFrame?", "JFrame: 'Random' size?", "how update a JFrame with data from another JFrame?", "Error java JFrame", "How do you find out the REAL size of a JFrame?", "My JFrame size doesn't match up with set size", "Open a Jframe from another Jfra...
Java performance String.indexOf(char) vs String.indexOf(single String)
[ "Which String method: \"contains\" or \"indexOf > -1\"?" ]
[ "How to Use Indexof()method in java", "Java String IndexOf before Replace?", "Where is Java's Array indexOf?", "Java String.indexOf API", "indexOf for space in string", "indexOf(\"@\") method in Java", "how do i check the data in an array with indexOf in java", "about the indexof(\" \")", "why does ...
Error "ClassNotFoundException" in IntelliJ IDEA
[ "fix ClassNotFoundException in intellij" ]
[ "Java NoClassFoundDefError and ClassNotFoundException issue", "java.lang.ClassNotFoundException when running in IntelliJ IDEA", "Getting \"ClassNotFoundException: ResteasyBootstrap\" and \"ClassNotFoundException:SpringContextLoaderListenerexception\"", "HikariConfig ClassNotFoundException", "java \"ClassNot...
Changing timezone without changing time in Java
[ "JAVA: Weird behaviour when changing TimeZone of Calendar object without changing the Date/Time" ]
[ "changing file type from JAVA000064 to JAVA", "Changing variable by method", "Multicolored changing text in java", "Changing data in an Object Array", "Variable not changing in Java", "Changing object name with input", "Changing the value for RadioGroupFieldEditor", "Changing NumberConstants.decimalSe...
How to get the PID of running application in Windows?
[ "Get PID of Runtime process using JNI" ]
[ "Where will the output file goes when we do \"kill -3 <pid>\"", "-C# / JAVA- Get PID on Applications run in CMD", "How do I get the PID of this Java app?", "How to get the pid of a Java subprocess?", "Get the own process pid from the command prompt in windows", "Get the PID for a process started by Eclips...
What is the difference between Binding and Dispatching in Java?
[ "What is dispatching in java" ]
[ "Java servlet not dispatching to another servlet", "Java Event-Dispatching Thread explanation", "Dispatching AWT Event With No User Input", "Java web application object dispatching", "Dispatching requests from a servlet to jsp", "Data binding in java oveeriding", "Event Dispatching Thread execution", ...
Displaying Currency in Indian Numbering Format
[ "How to display Indian Numbering format in iReport?", "I need Indian currency format like 100000 as 1,00,000 , 1234 as 1,234" ]
[ "Java REGEX code to validate Indian language characters not working?", "How to generate consecutive list numbering?", "Remove Optional Numbering From String with Regex", "How to call multiple variable of string with numbering in loop?", "Dynamically set the timezone and return time in Indian standard format...
What does super() do here
[ "When do I use super()?", "super() in Java" ]
[ "super-constructor if there is no super class?", "How it works super() and super. in Java", "Why use super call in a super class when it has no explicitly defined super class", "The use of super(); in Java", "this and super in java", "Why does this not print \"super\"?", "Using this and super() in java"...
Can Java launch the Windows UAC?
[ "Elevating a ProcessBuilder process via UAC?" ]
[ "Java admin rights (UAC)", "App used to launch now it does not", "Can you determine if Vista UAC allows writing to a directory without elevation in java?", "loading dll which requires UAC elevated privileges with jni", "What is the best way to launch an application from another?", "Create new instance on ...
How to convert a local date to GMT
[ "Milliseconds to Date in GMT in Java" ]
[ "Converting Date to GMT date format", "Java date timezone to GMT and convert to another format", "Parse GMT string to local", "How to convert GMT?", "JAVA: gmt to local time conversion", "How to convert an offset from GMT to the local timezone?", "Java, How to change GMT time to local time?", "Java ex...
Hadoop: Cannot use Jps command
[ "Hadoop : JPS can not find Java installed" ]
[ "jps not showing Tomcat process", "jps command list only jps but still HDFS services are available", "Jconsole and JPS don't show any processes. How can I monitor my process?", "How to use CompressionCodec in Hadoop", "JPS : HQL query to check null attribute", "jps/jvmstat fails on directory paths with sp...
Mockito: How to mock an interface of JodaTime
[ "How can I mock JodaTime actual date?" ]
[ "Mockito: mock method parameter", "Mockito how do I mock this method?", "Mockito mock interface returning null in Before", "Mockito static function mock", "How does mockito create an instance of the mock object", "Mock a static method with mockito", "Mockito mock all methods call and return", "Mock a ...
How to hide the knob of jSlider?
[ "how to put image on jslilder's knob of swing in java?", "Is possible to set an unknown value on a JSlider?" ]
[ "how to change knob's image of Jslider on mouseover and mouse pressed?", "Java JSlider with two set of labels", "JSlider Problems", "How to remove text above JSlider", "Java Swing JSlider", "Printing a single time Jslider", "JSlider : can't make the knob move on the closest tick during drag", "JSlider...
java : Unparseable date Exception
[ "SimpleDateFormat \"Unparseable date\" Exception" ]
[ "Error by converting date: Unparseable date in JAVA", "Java - Unparseable date", "Convert from String to Date throws Unparseable date exception", "Java: unparseable date exception", "Java date parse string (Unparseable date)", "How to resolve Unparseable date error", "Unparseable date error on Java", ...
How to resize JLabel ImageIcon?
[ "Resizing JLabel ImageIcon with HTML" ]
[ "How do I make a JLabel that has an imageIcon that is available to all methods and classes?", "list of imageIcon", "Why is this JLabel's ImageIcon not updating?", "Is it possible to resize the text in a JLabel?", "Using an ImageIcon and a JLabel", "ImageIcon does not work with me", "If I already have a ...
Running Java gives "Error: could not open `C:\Program Files\Java\jre6\lib\amd64\jvm.cfg'"
[ "Java path..Error of jvm.cfg" ]
[ "Why can my Java project call my DLLs successfully in Eclipse when I place them in JAVA_HOME\\jre6\\bin but failed in using java.library.path?", "Could not find hibernate.cfg.xml", "Can we have more than one cfg file in hibernate?", "how can I change the properties of the cfg.xml file?", "hibernate.cfg.xml ...
Impact of changes on singleton class loaded by different classloaders
[ "Singleton class with several different classloaders" ]
[ "Java Classloaders - Invoking a static method inside a private class", "Using two different classloaders to load two children of the same class", "Access static method from classes loaded by different ClassLoaders", "WebSphere 7, JSF 2.0 and classloaders", "ClassCastException when creating an instance of a ...
Java eqivalent method of "splice(a,b,...)" in JavaScript method
[ "How to write a method like splice in Java" ]
[ "Splice arraylist in Java and group the second part", "How to load a javascript file and run a javascript method in java?", "use java to create file in JavaScript", "How to call javascript from java code", "javascript call from java code", "What is an efficient way to splice one binary input into another ...
Does make sense to use DAO pattern with ORM systems?
[ "DAO vs ORM(hibernate) pattern" ]
[ "Generic Dao Pattern: lookup Dao by class", "DAO Class not writing to file", "DAO pattern - where should I put static variables?", "DAO implementation : Making a DAO object a property of other DAO", "Java orm problem", "DAO with Null Object Pattern", "How to use ORM in android", "ORM in the realworld"...
XMLHttpRequest in Rhino?
[ "XMLHttpRequest over HttpClient in Rhino" ]
[ "Calling Java function from Rhino", "How create java class object in javascript using RHINO", "Advantages of using Rhino (mozilla's rhino)", "Rhino 1.7r2-3 E4X \"XML\" is not defined", "XmlHttpRequest status=0", "Rhino: return JSON from within Java", "Rhino setting a NativeObject property in java", "R...
Initialize final variable in constructor
[ "Initialize a static final field in the constructor" ]
[ "How to initialize a final object array", "Initialize an array in class constructor", "Using \"this\" in the constructor of a final class", "Can't initialize static final field in constructor", "Initialize final variable before constructor in Java", "Initialize an object of another class in constructor", ...
String contains - ignore case
[ "Ignore case for 'contains' for a string in Java" ]
[ "Make Java runtime ignore serialVersionUIDs?", "RegEx ignore in java", "Java to json String ignore null values", "user input ignore case", "Java - Ignore case checking user input", "Option to ignore case with .contains method?", "how to ignore a value in a text?", "Trying to set Json Ignore for some o...
Highlight differences between images
[ "android compare 2 images and highlight difference" ]
[ "how to highlight a input field in an android application in java", "Differences just List and List<Object> and List<?>", "Differences between 2 objects in java", "Highlight words in PDF", "Java remove old Highlight", "How can I highlight java code via CSS?", "Highlight Rectangle Object", "Highlight e...
Java byte[] to String not working when assigned to String
[ "Java byte to string" ]
[ "java - string return method is called before any value is assigned to string", "String array instance assigned to single Object", "Value in array not not assigned - java", "java- I need a value to only be used in the while loop and not get assigned", "Interconversion of String into byte[] and byte[] into S...
How to mock the default constructor of the Date class with JMockit?
[ "JMockit mock constructor" ]
[ "How do I mock a method with void return type in JMockit?", "Jmockit mock abstract class", "Why can't I mock Math using JMockit", "JMockit mock returns String instead of the List<String> provided", "Mock a public method using Jmockit", "How do I mock a method with generic objects in JMockit?", "how jMoc...
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)" ]
[ "JEE7 @Transactional annotation not always fires", "How to check for session in JSP EL?", "where is dukes-age in maven archetype? per first cup of JEE7", "JSP EL: dynamic creation of property name", "NoSuchMethodError using dropwizard websocket jee7 bundle server", "JSP: Why do I get 0 instead of null in ...
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?" ]
[ "How many outer **this** will have this inner class?", "Access outer class function from Object of Inner Class", "Inner use instead of Outer.Inner?", "Accessing an inner class´ method from another inner class", "Accessing a method of the Outer Class inside a static Inner Class", "using inner class object ...
ANT JAR file for JavaFX Application
[ "Compile JavaFX Code using ANT" ]
[ "JavaFX ANT builder not working", "Problem with ant file", "JavaFX : Gluon library with ANT or convert JavaFX-Ant project to JavafX-Gradle project", "Error in Ant file", "Import jar file in ant build file", "Using maven ant plugin in javafx application, How to add Dependencies in javaFX jar. Still facing ...
Java: Rationale of the Cloneable interface
[ "Why is Cloneable not deprecated?" ]
[ "When does it make sense for a Java object to be Serializable but not Cloneable?", "About Java cloneable", "Cloneable behaviour", "Implementing the Cloneable Interface", "how to create clone of an object which does not implement Cloneable", "Java interface extends Cloneable", "How do Java arrays impleme...
Strange behavior of Class.getResource() and ClassLoader.getResource() in executable jar
[ "What is the difference between Class.getResource() and ClassLoader.getResource()?", "Apache CLI, Executable jar, classLoader().getResource()" ]
[ "Write To file with getResource", "sysLoader.getResource() problem in java", "JAVA why only images works with class.getResource", "URL getResource not working when in JAR file", "getResource() -> Source not found", "Why does getResource return null", "Java class getResource() with eclipse", "Java getR...
make wadl file resteasy without maven
[ "Can I get application.wadl file using RESTeasy?" ]
[ "InternalServerErrorException in RestEasy", "RESTEasy + Spring 3 + Maven", "REST WADL vs SOAP", "Include possible values of @PathParam to WADL", "Resteasy PostProcessInterceptor after ResteasyJacksonProvider", "Maven WADL plugin not producing a usable WADL", "Jersey WADL generator support custom annotat...
Can't find @Nullable inside javax.annotation.*
[ "Java. Which @Nullable should I use to mark return value with one?" ]
[ "nullPointerException on a nullable=false value", "Check if method \"return null\" and is @Nullable", "Does Java allow nullable types?", "javax.annotation: @Nullable vs @CheckForNull", "Missing dependency 'class javax.annotation.Nullable'", "Where to find 'javax.lang' and 'javax.annotation' in ubuntu", ...
Using Prepared Statements to set Table Name
[ "Variable column names using prepared statements" ]
[ "Java Prepared Statements Not Entirely Working - MYSQL", "Can I pass table name as argument to a java prepared statement?", "Cannot insert into database with prepared statements", "Prepared statements with MySQL?", "SQL injection and prepared statements", "How to call prepared statements in java properly"...
HttpClient 4.0.1 - how to release connection?
[ "HttpClient: How to have only one connection to the server?" ]
[ "HttpClient version 3.1 error", "Where is the documentation for HttpClient 4.1.x?", "HttpClient and Connection Timeout", "Using the new httpclient-4.0.1 jar with a project using commons-httpclient", "Deprecated HttpClient, now using apache-httpclient-4.3.x", "Getting query String using HttpClient 4.1", ...
Profiling a Java Spring application
[ "Beyond Profiling a Java Spring application with Spring AOP" ]
[ "Java Profiling, Performance Tuning and Memory Profiling exercises", "Memory profiling for Java desktop application", "Advanced Java profiling", "Java application profiling", "Spring web application memory profiling doubts", "Java / Eclipse profiling: Is there a way to show the number of method calls to e...
JAX-WS and XSD Validation
[ "JAX-WS request validation using JAXB" ]
[ "JAX-WS null arguments", "Spring WS: How to get and save XSD validation errors", "JAX-WS on Tomcat server", "what actually JAX-WS is?", "How to call JAX-WS method from URL", "XSD Validation Error in JAVA", "How do you configure jax-ws to work with Spring using jax-ws commons?", "Using a custom class a...
How do I configure HikariCP in my Spring Boot app in my application.properties files?
[ "Configure HikariCP in Spring Boot with JTDS" ]
[ "Configure HikariCP + Hibernate + GuicePersist(JPA) at Runtime", "How to configure HikariCP with PostgreSQL", "HikariCP pass Oracle custom type", "Caching properties using Hikaricp in Oracle", "how to utilize HikariCP with Hibernate?", "How to configure and monitor HikariCP with Hibernate and Spring Boot"...
Get domain name from given url
[ "in java how to extract exact domain name from url", "Extract main domain name from a given url" ]
[ "how to implement domain classes", "Meaning of domain, application in URL", "I can't access my api of the another domain", "How I do to get the domain of page html?", "Trying to create pattern for Domain Name", "Converting time domain to frequency domain in Java", "Get domain name from URL in Java/Andro...
Unmanaged Threads Spring Quartz Websphere Hibernate
[ "Websphere JNDI lookup fails in a Quartz job" ]
[ "Having quartz execute a job only in one thread when there are multiple quartz threads", "How do I get a managed bean inside an unmanaged object?", "Spring + Hibernate + Quartz: Dynamic Job", "Error setting foreign key in jpa entity: You cannot flush unmanaged objects... that have persistent associations to u...
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", "Convert ImageByteArray to BufferedImage", "Can't get correct alpha values from individual BufferedImage pixels", "Java BufferedImage: Alpha change makes low alpha areas appear black", "How do I desaturate a BufferedImage in Java?", "Can't draw B...
Best practices for using Markers in SLF4J/Logback
[ "are multiple features a good use case for logback markers?" ]
[ "SLF4J best practices", "Can I use Log4j.xml configuration for SLF4J and Logback?", "SLF4J: Class path contains multiple SLF4J bindings. multiple logback-classic jars", "SLF4J + logback + JBoss 7?", "How can I remove logback from a library's dependency while keeping SLF4J?", "migrate from slf4j+logback to...
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
722