java.lang.IllegalStateException: Failed to introspect Class

Caused by: java.lang.ClassNotFoundException: org.springframework.data.elasticsearch.core.ElasticsearchOperations This error message means that the jar containing this class is not on the application classpath. Add spring-data-elasticsearch jar to it, and your error should be gone. if you are using maven, add the jar to the classpath this way : The version that you should use depends on the version … Read more

Quotation marks inside a string

You have to escape the second pair of quotation marks using the \ character in front. It might be worth looking at this link, which explains in some detail. Other scenario where you set variable: Sequence in console:

Java- The meaning of >?

This means that the type parameter must support comparison with other instances of its own type, via the Comparable interface. An example of such a class is provided in the Oracle tutorial Object Ordering. Note the similar pattern to T extends Comparable<T> in the excerpt below:

add string to String array

You cannot resize an array in java. Once the size of array is declared, it remains fixed. Instead you can use ArrayList that has dynamic size, meaning you don’t need to worry about its size. If your array list is not big enough to accommodate new values then it will be resized automatically.

Javadoc @author tag good practices

I would say that for most purposes @author is unwanted noise. The user of your API shouldn’t – and probably doesn’t – care, or want to know, who wrote which parts. And, as you have already stated, SVN already holds this information in a much more authoritative way than the code can. So if I was one … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)