Questions

Login to create Question


.net API working in browser & curl but not working in Postman/ with java code

I have a .net GET API to consume which is working fine in chrome browser and also with curl, but when i use it in Postman/ Java code its throwing exceptions

Views: 4

postman api
created by megamind

Error parsing externalized integers in spring boot

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'cacheService': Unsatisfied dependency expressed through field 'port'; nested exception is org.springframework.beans.TypeMismatchException: Failed to convert value of type 'java.lang.String' to required type 'int'; nested exception is java.lang.NumberFormatException: For input string: "spring.redis.port"

Views: 11

spring-boot integer configuration-
created by megamind

db.collection(...).findOne(...).project is not a function

getting following error with NodeJS MongoDB driver db.collection(...).findOne(...).project is not a function

Views: 54

nodejs mongodb
created by megamind

show dbs failing on mongo console

show dbs failing with following error on mongo console not authorized on admin to execute command { listDatabases: 1.0 }

Views: 57

mongodb
created by megamind

How to pass environment variables to docker?


Views: 72

docker environment
created by megamind

How to switch branch in Git


Views: 90

No Tags
created by d20160501

How to initialize a Git repository on a existing code folder?


Views: 81

No Tags
created by d20160501

gRPC project build failing with Failed to execute goal org.xolstice.maven.plugins:protobuf-maven-plugin:0.5.1:compile (default) on project grpc-hello-world: Missing

Getting following error with gRPC build [ERROR] Failed to execute goal org.xolstice.maven.plugins:protobuf-maven-plugin:0.5.1:compile (default) on project grpc-hello-world: Missing:

Views: 80

grpc maven build
created by d20160501

getting RangeError [ERR_HTTP_INVALID_STATUS_CODE]: Invalid status code: 3

getting RangeError [ERR_HTTP_INVALID_STATUS_CODE]: Invalid status code: 3 while returning a number

Views: 397

express
created by noder

Error while querying with multiple terms in Elasticsearch

[term] query doesn't support multiple fields, found [FirstName.keyword] and [FirstName.keyword]

Views: 188

elasticsearch query term
created by d20160501

Error while performing distinct query on elasticsearch

Fielddata is disabled on text fields by default. Set fielddata=true on [Age] in order to load fielddata in memory by uninverting the inverted index. Note that this can however use significant memory. Alternatively use a keyword field instead

Views: 166

elasticsearch distinct
created by d20160501

Kap recording issue

I am getting the error Unhandled Promise Rejection Error: Call `.startRecording()` first at Aperture.stopRecording while i am recording large videos

Views: 112

kap
created by noder

MDC-Web Select Component


Views: 130

mdc-components
created by Maurya Vardhan

ionicframework error

In development mode when i made changes then ionic is giving this error while navigating.

Views: 111

ionic ionicframework
created by noder

How to check dependency tree of a gradle project

How can i check dependency tree of a gradle project?

Views: 139

gradle gradlew dependency dependency-tree
created by d20160501

Exception while accessing /jsondoc endpoint

Getting following exception wile accessing /jsondoc endpoint in Spring Boot java.lang.ClassCastException: sun.reflect.generics.reflectiveObjects.TypeVariableImpl cannot be cast to java.lang.reflect.ParameterizedType

Views: 108

jsondoc api spring-boot
created by d20160501

How to create MongoDB index?

How to create MongoDB indexes on single field and multiple fields?

Views: 99

mongodb index
created by d20160501

-bash: gulp: command not found

When i run the task 'gulp dev' i am getting following error -bash: gulp: command not found

Views: 142

gulp
created by noder

Unable to build Android Application when proguard rules are enabled

Failing with following error Error:Execution failed for task ':app:transformClassesAndResourcesWithProguardForRelease'. > Job failed, see logs for details

Views: 225

android proguard
created by andro

Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.

Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.

Views: 1053

material-ui react
created by noder