select *
from
(
select a.*, rownum as rn
from table_name a
where rownum <= 110
)
where rn > 100
There are lot beginners in Java Spring they usually faces this kind of issues or errors, I will share here what error or issue I came across and how did I resolved it.
Header Ad
Thursday, February 7, 2019
Oracle Pagination Query
Thursday, January 31, 2019
org.apache.solr.client.solrj.impl.HttpSolrClient$RemoteSolrException: Error from server at http://localhost:8983/solr
This issue happens due to below reasons :
- This is mostly a case you did not put your core name in url as http://localhost:8983/solr/<coreName> ex: http://localhost:8983/solr/product
- Host is incorrect
- Host is correct but solr is not running at host
- port might be disable
- Firewall issue
Spring Boot app: Not picking up application.properties?
There are various reason for this issue to occur I'm showing what I had come across.
For me it was due to packaging as pom
I had something in my pom.xml as below
<packaging>pom</packaging>
So if you have similar thing, then :
1. Remove it for spring-boot App.
2. Delete target folder or mvn clean.
3. then mvn install.
4. Watch your property under target/classes/application.properties file.
Subscribe to:
Posts (Atom)