[Solved] sorry you are not allowed to access this page. wordpress ssl

This “sorry you are not allowed to access this page. wordpress ssl” is quiet common in wordpress, this happens sometimes due to incorrect https setup/.htaccess redirection issues. Sometimes even plugins may create this issue. So lets resolve this error now using the most repeated case. You must have cpanel access to follow the below steps and fix this issue. Search […]

 1,224 total views,  15 views today

» Read more

[Solved] Error: listen EADDRINUSE: address already in use :::5000

Error: listen EADDRINUSE: address already in use :::5000  First run this command to check the process ID of the running application: sometimes, even if you kill by the above command the process may still be running. In that case we need to actually find the process tree and kill the parent / root process. Command to find the parent/root process: […]

 1,083 total views,  5 views today

» Read more

[Resolved] Caused by: java.net.BindException: Address already in use: bind

In windows, run this below command, netstat -ano | findstr :9092 this command will list down all the processes which are running in this port (9092). To kill the process in windows run the below command taskkill /pid 21680 /f 21680 is the process id displayed after running the netstat above command. /f to kill the process forcefully. You will […]

 1,406 total views,  3 views today

» Read more

Developers Repeated Mistakes

In this post we are going to discuss about the repeated mistakes of developers during design/implementation/planning etc. This is just a sudden thought process, so this post will grow on my day to day experience and research wise only. Feel free to comment your repeated mistakes to add it to this master list. In Hibernate/Databases: While creating/planning a column for […]

 1,208 total views,  3 views today

» Read more

[Solved] Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

Full Error: Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by   Root cause: This exception comes when we try to run the query with few fields in the select, but only one group by […]

 1,425 total views

» Read more

SOLVED: Caused by: org.hibernate.hql.internal.ast.QuerySyntaxException: Unable to locate appropriate constructor on class

SOLVED: Caused by: org.hibernate.hql.internal.ast.QuerySyntaxException: Unable to locate appropriate constructor on class: Root cause: If you are trying to populate result sets directly to your custom bean (not entity bean) then you must have public default constructor in your bean. See the below sample snippet to understand better.   Example: @Query("SELECT new com.ngdeveloper.dto.SlugCountBean(t.tagSlug, count(c)) FROM Coupon c join c.tags t where […]

 4,221 total views,  6 views today

» Read more

[Solved] JSON parse error: (was java.lang.NullPointerException); nested exception is com.fasterxml.jackson.databind.JsonMappingException: (was java.lang.NullPointerException) (through reference chain:

[Solved] JSON parse error: (was java.lang.NullPointerException); nested exception is com.fasterxml.jackson.databind.JsonMappingException: (was java.lang.NullPointerException) (through reference chain: Full Exception: [plain] {“timestamp”:”2018-09-21T12:25:44.365+0000″,”status”:400,”error”:”Bad Request”,”message”:”JSON parse error: (was java.lang.NullPointerException); nested exception is com.fasterxml.jackson.databind.JsonMappingException: (was java.lang.NullPointerException) (through reference chain: com.ngdeveloper.entities.Coupon[\”store\”]->com.ngdeveloper.entities.Store[\”description\”])”,”path”:”/ngdeveloper/api/rest/coupon/add”} [/plain]   Solution: By default jackson tries to serialize the class as well as all the fields of the class, so you could have got the […]

 2,111 total views,  6 views today

» Read more

[Resolved] Spring boot JWT Filter called twice

[Resolved] Spring boot JWT Filter called twice: Recently when I was integrating JWT Filter and Simple CORS filter in my spring boot project, I observed that both the filters are called twice before actually reaching my servlet/rest controller.   After googling, I got this link, As per that, One invocation is by servlet container and the other is by Spring […]

 2,126 total views,  2 views today

» Read more

org.springframework.web.HttpMediaTypeNotAcceptableException | Could not find acceptable representation

org.springframework.web.HttpMediaTypeNotAcceptableException | Could not find acceptable representation: Full Error details: [plain] {“timestamp”:1522250376646,”status”:406,”error”:”Not Acceptable”,”exception”:”org.springframework.web.HttpMediaTypeNotAcceptableException”,”message”:”Could not find acceptable representation”,”path”:”/category/deleteImage/google.png”} [/plain]     As per this link, I found the solution for this issue:   Solution: @SpringBootApplication public class CouponzcornerBackendApplication { public static void main(String[] args) { SpringApplication.run(CouponzcornerBackendApplication.class, args); } @Configuration public static class PathMatchingConfigurationAdapter extends WebMvcConfigurerAdapter { @Override public void configureContentNegotiation(ContentNegotiationConfigurer configurer) […]

 2,137 total views

» Read more
1 2 3 12