eclipse-basyx / basyx-java-server-sdk

MIT License
58 stars 45 forks source link

No 'aasx-spec' document found in .aasx #281

Closed yucef428 closed 5 months ago

yucef428 commented 6 months ago

When I try to pull a server from Docker Hub and implement my AASX, I get this error message: "No 'aasx-spec' document found in .aasx." help

zhangzai123 commented 6 months ago

Hi @yucef428 , which version of aasx package explorer did you use to create you aasx package: lbr_iiwa.aasx? The BaSyx server V1 is only compatible with Asset Administration shell V2 instead of V3. The AASx-explorer release for AAS V2 is available here: https://github.com/admin-shell-io/aasx-package-explorer/releases/tag/v2023-02-03.alpha

yucef428 commented 6 months ago

I was using version 3. Can I change the version of the file, or do I have to recreate it?

zhangzai123 commented 6 months ago

You have to download an older version of the aasx explorer (https://github.com/admin-shell-io/aasx-package-explorer/releases/tag/v2023-02-03.alpha) and recreate your aasx-package with it.

FrankSchnicke commented 5 months ago

Alternatively, you can use the newest components of BaSyx supporting V3 found here: https://github.com/eclipse-basyx/basyx-java-server-sdk

yucef428 commented 5 months ago

i can't pull it frome docker hub ? the serveur sdk don't work for me and i am bad with java

FrankSchnicke commented 5 months ago

You can take a look at the example provided here: https://github.com/eclipse-basyx/basyx-java-server-sdk/tree/main/examples There's also a docker compose that shows how to use the components from DockerHub of BaSyx V2.