Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    Rather than generating JSON by string concatenation, which is pretty much guaranteed to give you functionality and security issues, I recommend using a JSON library instead. We use Jersey in JIRA but any would do.

Solutions on the web

via GitHub by NadaBen
, 2 years ago
Unrecognized token 'swagger': was expecting ('true', 'false' or 'null') at [Source: E:\TCTSUmons\swagger.yml; line: 1, column: 9]
via GitHub by kevinoid
, 1 year ago
Unrecognized token 'swagger': was expecting ('true', 'false' or 'null') at [Source: bad_example.yaml; line: 1, column: 9]
via GitHub by jimschubert
, 1 month ago
Unrecognized token 'swagger': was expecting ('true', 'false' or 'null') at [Source: swagger.yaml; line: 1, column: 9]
via GitHub by kevinoid
, 1 year ago
Unrecognized token 'swagger': was expecting ('true', 'false' or 'null') at [Source: bad_example.yaml; line: 1, column: 9]
via GitHub by SellamiRami
, 1 year ago
Unrecognized token 'swagger': was expecting ('true', 'false' or 'null') at [Source: CETIC/MISSIONS/SiriusInsight/API.yml; line: 1, column: 9]
via GitHub by bkryza
, 1 year ago
Unrecognized token 'swagger': was expecting ('true', 'false' or 'null') at [Source: test.yml; line: 1, column: 10]
com.fasterxml.jackson.core.JsonParseException: Unrecognized token 'swagger': was expecting ('true', 'false' or 'null') at [Source: E:\TCTSUmons\swagger.yml; line: 1, column: 9] at com.fasterxml.jackson.core.JsonParser._constructError(JsonParser.java:1419) at com.fasterxml.jackson.core.base.ParserMinimalBase._reportError(ParserMinimalBase.java:508) at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._reportInvalidToken(UTF8StreamJsonParser.java:3201) at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._handleUnexpectedValue(UTF8StreamJsonParser.java:2360) at com.fasterxml.jackson.core.json.UTF8StreamJsonParser._nextTokenNotInObject(UTF8StreamJsonParser.java:794) at com.fasterxml.jackson.core.json.UTF8StreamJsonParser.nextToken(UTF8StreamJsonParser.java:690) at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:3105) at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3051) at com.fasterxml.jackson.databind.ObjectMapper.readTree(ObjectMapper.java:1861) at io.swagger.parser.SwaggerCompatConverter.readResourceListing(SwaggerCompatConverter.java:147) at io.swagger.parser.SwaggerCompatConverter.read(SwaggerCompatConverter.java:74) at io.swagger.parser.SwaggerParser.read(SwaggerParser.java:72) at io.swagger.codegen.config.CodegenConfigurator.toClientOptInput(CodegenConfigurator.java:390) at io.swagger.codegen.cmd.Generate.run(Generate.java:221) at io.swagger.codegen.SwaggerCodegen.main(SwaggerCodegen.java:36)