Posts

Showing posts from September, 2021

Java not detecting in visual studio code

Image
Manually download the jdk and give the path. JDK installed through apt-get will not work as it download only jre. JDK includes jre but jre do not include jdk go to setting in visual studio, search java.home. You will find a Java:Home click in edit in settings.json Enter the java home value in the file

Linux important extension

 a) Dash to dock b) tweaks c) gtile d) Deep screenshot

axon error.

 Mostly caused by having no args aggregator Wrong variable annotated with @TargetAggregateIdentifier All the reason for having error is because of wrong @AggregateIdentifier variable. Aggregate identifier must be non-null after applying an event. Make sure the aggregate identifier is initialized at the latest invalid aggregate number for aggregate axon

pom parent child module error. error in plugin

  < build > < plugins > < plugin > < groupId >org.springframework.boot</ groupId > < artifactId >spring-boot-maven-plugin</ artifactId > </ plugin > </ plugins > </ build > Error in this section from parent is due to the fact that target is already build without this. Target folder should be deleted then it will be ok.

PostMapping Content type 'text/plain;charset=UTF-8' not supported

 This is because, postman automatically sets the Content-Type to text/plain if none is mentioned. When mentioned explicitly we should mention in header Content-Type application/json