java
Spring Sleuth LazyConnectionFactory
Spring ConnectionFactory bean instantiation error:
Caused by: org.springframework.beans.factory.BeanNotOfRequiredTypeException: Bean named 'mqConnectionFactory' is expected to be of type 'com.ibm.mq.jms.MQConnectionFactory' but was actually of type 'org.springframework.cloud.sleuth.instrument.messaging.LazyConnectionFactory'
Tags
Cannot resolve the name to a(n) 'type definition' component
To generate java stub classes from xsd, we use the xjc utility that comes with the JDK.
I received a couple of error while generating the stubs for a particular project i was working.
how to solve javax.net.ssl.ssl.HandShakeException Error
To solve this error, you would need to download the SSL certificate from the site you are trying to access and import it into you JVM truststore
STEPS TO CONFIGURE MULTIPLE NODES CASSANDRA ON A SINGLE WINDOWS MACHINE
Simple steps to configure cassandra on a single windows machine with multiple nodes.
Converting a long to a boolean array in Java and Converting a boolean array to a long in java
Converting a long to a boolean array in Java
Converting a boolean array to a long in java
Tags
display errors on custom JSP page
Sometimes customization of the 500 and 400 error pages might be desired. To do this, configuring the web.xml file to send these errors to the customized page(s) would help achieve the task.
Unable to compile class for JSP
Unable to compile class for JSP: The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files
You have just upgrade to java 8.
Yo haven't upgraded tomcat or you did.
Make sure you do not have an older ecj-*.jar file in your classpath. Removing the older jar will resolve the error.
jQuery and Spring REST controller
Brief example showing how to send json data to a spring rest controller
DIFFERENCES BETWEEN OVERLOADED AND OVERRIDDEN METHODS
DIFFERENCES BETWEEN OVERLOADED AND OVERRIDDEN METHODS
Tags