Stephan Urbanczyk
Stephan Urbanczyk

Reputation: 163

JHipster new version creates 500 server error "failed to map to source...to class" using Elasticsearch

Generated a new JHipster application using v5.3.0 with Elasticsearch

I'm using the same JDL that I used with the previous version of JHipster which worked successfully but could not deploy.

I generate successful. No errors. No problems.

When I open the application and try CRUD with my entities...works normally.

For one of my entities, the Elasticsearch search returns a 500 server error.

Again, this is just after generating the application. I haven't changed anything.

This JDL worked in the last version. The failing entity works fine for all CRUD operations...just throws the error when doing a search. All the other entities work fine doing a search.

The JSON response mentions "failed to map to source...to class".

The generator created that mapping without errors. Why would it being failing during a search?

Why do the other entities work OK?

Any ideas? Anybody else have problems?

Upvotes: 0

Views: 1482

Answers (1)

Stephan Urbanczyk
Stephan Urbanczyk

Reputation: 163

Bug in JHipster 5.3.0 generator.

See https://github.com/jhipster/generator-jhipster/issues/8222

Upvotes: 1

Related Questions