Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create maven project error #128

Open
saint2014 opened this issue Aug 24, 2019 · 5 comments
Open

create maven project error #128

saint2014 opened this issue Aug 24, 2019 · 5 comments

Comments

@saint2014
Copy link

Fail to create a project. Error: Unexpected token < in JSON at position 0

@saint2014
Copy link
Author

can't select springboot version

@doubledevwp
Copy link

doubledevwp commented Sep 6, 2019

This is happening to me when trying to create a new project as well.

Is there a certain order or way to create the new project?
My process when trying to do this to test it out:

  1. Open VS Code
  2. CTRL+SHIFT+P to open the Command Palette
  3. Type in Spring Initializr and select the Maven Project option
  4. Select Java
  5. Keep Group Id as "com.example"
  6. Keep "demo" as the Artifact Id
  7. Crashes with the error provided by @saint2014

E2C6072C-943A-4FC1-AA50-7887B972608B

@Eskibear
Copy link
Member

Eskibear commented Sep 9, 2019

Error: Unexpected token < in JSON

It should be probably networking issue. html content is returned by the server instead of JSON string, leading to the parsing error.

@ramya-ramesh
Copy link

crashes after entering the artifact Id with error :
Fail to create a project. Error: write EPROTO 2859550504:error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER:../../third_party/boringssl/src/ssl/tls_record.cc:242:

@SvenST89
Copy link

Hi community! I am encountering similar issues with starting up a maven project. Initially I had version 0.8.0 installed and received the error message that the metadata couldn´t get fetched. Then by this issue here #162 I resolved the problem by lowering the version to 0.4.8.
But now, I am running into the following error:
image

I think it is a proxy problem as I am working within my company´s network (at home via vpn). But so far I could not figure out how to get it up and running. I even added the proxy to the settings.json file in the extension settings.

Has anybody an idea how I could fix this?

In advance many thanks for your understandings and your efforts!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants