Thank you very much everyone for your suggestions. I’ll try to use ADL Designer.
Actually, I have tried it before. But when I went to the website, it required me to log in, but I can’t find the sign-up page. I just knew today that I can use the “test” username to log in.
About local deployment, I have tried installing it too, but I got an error again about “cannot find symbol.” But it’s OK, I’ll use the web version first.
Here is the error log of the local deployment. I’ll post it on its Github too.
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.014 s
[INFO] Finished at: 2020-03-14T20:18:47+07:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project designer: Compilation failure: Compilation failure:
[ERROR] /Users/rathpanyowat/Dev/adl-designer/designer/src/main/java/org/openehr/designer/repository/file/FileArchetypeRepository.java:[27,24] cannot find symbol
[ERROR] symbol: class PostConstruct
[ERROR] location: package javax.annotation
[ERROR] /Users/rathpanyowat/Dev/adl-designer/designer/src/main/java/org/openehr/designer/web/rest/RepositoryResource.java:[47,24] cannot find symbol
[ERROR] symbol: class PostConstruct
[ERROR] location: package javax.annotation
[ERROR] /Users/rathpanyowat/Dev/adl-designer/designer/src/main/java/org/openehr/designer/web/rest/RepositoryResource.java:[48,24] cannot find symbol
[ERROR] symbol: class Resource
[ERROR] location: package javax.annotation
[ERROR] /Users/rathpanyowat/Dev/adl-designer/designer/src/main/java/org/openehr/designer/io/opt/OptBuilder.java:[28,24] cannot find symbol
[ERROR] symbol: class PostConstruct
[ERROR] location: package javax.annotation
[ERROR] /Users/rathpanyowat/Dev/adl-designer/designer/src/main/java/org/openehr/designer/io/opt/OptBuilder.java:[29,24] cannot find symbol
[ERROR] symbol: class Resource
[ERROR] location: package javax.annotation
[ERROR] /Users/rathpanyowat/Dev/adl-designer/designer/src/main/java/org/openehr/designer/repository/github/AbstractGithubRepository.java:[38,16] cannot find symbol
[ERROR] symbol: class BASE64Decoder
[ERROR] location: package sun.misc
[ERROR] /Users/rathpanyowat/Dev/adl-designer/designer/src/main/java/org/openehr/designer/user/UserServiceLockingAspect.java:[31,24] cannot find symbol
[ERROR] symbol: class Resource
[ERROR] location: package javax.annotation
[ERROR] /Users/rathpanyowat/Dev/adl-designer/designer/src/main/java/org/openehr/designer/repository/file/FileTemplateRepository.java:[35,24] cannot find symbol
[ERROR] symbol: class PostConstruct
[ERROR] location: package javax.annotation
[ERROR] /Users/rathpanyowat/Dev/adl-designer/designer/src/main/java/org/openehr/designer/web/rest/ReferenceModelResource.java:[32,24] cannot find symbol
[ERROR] symbol: class Resource
[ERROR] location: package javax.annotation
[ERROR] /Users/rathpanyowat/Dev/adl-designer/designer/src/main/java/org/openehr/designer/web/rest/AppResource.java:[36,24] cannot find symbol
[ERROR] symbol: class PostConstruct
[ERROR] location: package javax.annotation
[ERROR] /Users/rathpanyowat/Dev/adl-designer/designer/src/main/java/org/openehr/designer/web/rest/AppResource.java:[37,24] cannot find symbol
[ERROR] symbol: class Resource
[ERROR] location: package javax.annotation
[ERROR] /Users/rathpanyowat/Dev/adl-designer/designer/src/main/java/org/openehr/designer/web/AppController.java:[20,24] cannot find symbol
[ERROR] symbol: class Resource
[ERROR] location: package javax.annotation
[ERROR] /Users/rathpanyowat/Dev/adl-designer/designer/src/main/java/org/openehr/designer/am/AmTypeGraph.java:[25,33] package javax.xml.bind.annotation does not exist
[ERROR] /Users/rathpanyowat/Dev/adl-designer/designer/src/main/java/org/openehr/designer/web/rest/UserResource.java:[38,24] cannot find symbol
[ERROR] symbol: class Resource
[ERROR] location: package javax.annotation
[ERROR] /Users/rathpanyowat/Dev/adl-designer/designer/src/main/java/org/openehr/designer/web/rest/SupportResource.java:[29,24] cannot find symbol
[ERROR] symbol: class Resource
[ERROR] location: package javax.annotation
[ERROR] /Users/rathpanyowat/Dev/adl-designer/designer/src/main/java/org/openehr/designer/repository/file/FileArchetypeRepository.java:[41,6] cannot find symbol
[ERROR] symbol: class PostConstruct
[ERROR] location: class org.openehr.designer.repository.file.FileArchetypeRepository
[ERROR] /Users/rathpanyowat/Dev/adl-designer/designer/src/main/java/org/openehr/designer/web/rest/RepositoryResource.java:[62,6] cannot find symbol
[ERROR] symbol: class Resource
[ERROR] location: class org.openehr.designer.web.rest.RepositoryResource
[ERROR] /Users/rathpanyowat/Dev/adl-designer/designer/src/main/java/org/openehr/designer/web/rest/RepositoryResource.java:[64,6] cannot find symbol
[ERROR] symbol: class Resource
[ERROR] location: class org.openehr.designer.web.rest.RepositoryResource
[ERROR] /Users/rathpanyowat/Dev/adl-designer/designer/src/main/java/org/openehr/designer/web/rest/RepositoryResource.java:[67,6] cannot find symbol
[ERROR] symbol: class Resource
[ERROR] location: class org.openehr.designer.web.rest.RepositoryResource
[ERROR] /Users/rathpanyowat/Dev/adl-designer/designer/src/main/java/org/openehr/designer/web/rest/RepositoryResource.java:[71,6] cannot find symbol
[ERROR] symbol: class PostConstruct
[ERROR] location: class org.openehr.designer.web.rest.RepositoryResource
[ERROR] /Users/rathpanyowat/Dev/adl-designer/designer/src/main/java/org/openehr/designer/io/opt/OptBuilder.java:[46,6] cannot find symbol
[ERROR] symbol: class PostConstruct
[ERROR] location: class org.openehr.designer.io.opt.OptBuilder
[ERROR] /Users/rathpanyowat/Dev/adl-designer/designer/src/main/java/org/openehr/designer/user/UserServiceLockingAspect.java:[42,6] cannot find symbol
[ERROR] symbol: class Resource
[ERROR] location: class org.openehr.designer.user.UserServiceLockingAspect
[ERROR] /Users/rathpanyowat/Dev/adl-designer/designer/src/main/java/org/openehr/designer/repository/file/FileTemplateRepository.java:[67,6] cannot find symbol
[ERROR] symbol: class PostConstruct
[ERROR] location: class org.openehr.designer.repository.file.FileTemplateRepository
[ERROR] /Users/rathpanyowat/Dev/adl-designer/designer/src/main/java/org/openehr/designer/web/rest/ReferenceModelResource.java:[44,6] cannot find symbol
[ERROR] symbol: class Resource
[ERROR] location: class org.openehr.designer.web.rest.ReferenceModelResource
[ERROR] /Users/rathpanyowat/Dev/adl-designer/designer/src/main/java/org/openehr/designer/web/rest/AppResource.java:[57,6] cannot find symbol
[ERROR] symbol: class Resource
[ERROR] location: class org.openehr.designer.web.rest.AppResource
[ERROR] /Users/rathpanyowat/Dev/adl-designer/designer/src/main/java/org/openehr/designer/web/rest/AppResource.java:[60,6] cannot find symbol
[ERROR] symbol: class PostConstruct
[ERROR] location: class org.openehr.designer.web.rest.AppResource
[ERROR] /Users/rathpanyowat/Dev/adl-designer/designer/src/main/java/org/openehr/designer/web/AppController.java:[34,6] cannot find symbol
[ERROR] symbol: class Resource
[ERROR] location: class org.openehr.designer.web.AppController
[ERROR] /Users/rathpanyowat/Dev/adl-designer/designer/src/main/java/org/openehr/designer/web/AppController.java:[36,6] cannot find symbol
[ERROR] symbol: class Resource
[ERROR] location: class org.openehr.designer.web.AppController
[ERROR] /Users/rathpanyowat/Dev/adl-designer/designer/src/main/java/org/openehr/designer/web/rest/UserResource.java:[46,6] cannot find symbol
[ERROR] symbol: class Resource
[ERROR] location: class org.openehr.designer.web.rest.UserResource
[ERROR] /Users/rathpanyowat/Dev/adl-designer/designer/src/main/java/org/openehr/designer/web/rest/UserResource.java:[49,6] cannot find symbol
[ERROR] symbol: class Resource
[ERROR] location: class org.openehr.designer.web.rest.UserResource
[ERROR] /Users/rathpanyowat/Dev/adl-designer/designer/src/main/java/org/openehr/designer/web/rest/UserResource.java:[51,6] cannot find symbol
[ERROR] symbol: class Resource
[ERROR] location: class org.openehr.designer.web.rest.UserResource
[ERROR] /Users/rathpanyowat/Dev/adl-designer/designer/src/main/java/org/openehr/designer/web/rest/SupportResource.java:[39,6] cannot find symbol
[ERROR] symbol: class Resource
[ERROR] location: class org.openehr.designer.web.rest.SupportResource
[ERROR] /Users/rathpanyowat/Dev/adl-designer/designer/src/main/java/org/openehr/designer/repository/github/AbstractGithubRepository.java:[139,9] cannot find symbol
[ERROR] symbol: class BASE64Decoder
[ERROR] location: class org.openehr.designer.repository.github.AbstractGithubRepository
[ERROR] /Users/rathpanyowat/Dev/adl-designer/designer/src/main/java/org/openehr/designer/repository/github/AbstractGithubRepository.java:[139,37] cannot find symbol
[ERROR] symbol: class BASE64Decoder
[ERROR] location: class org.openehr.designer.repository.github.AbstractGithubRepository
[ERROR] /Users/rathpanyowat/Dev/adl-designer/designer/src/main/java/org/openehr/designer/am/AmTypeGraph.java:[70,9] cannot find symbol
[ERROR] symbol: class XmlType
[ERROR] location: class org.openehr.designer.am.AmTypeGraph
[ERROR] /Users/rathpanyowat/Dev/adl-designer/designer/src/main/java/org/openehr/designer/am/AmTypeGraph.java:[70,49] cannot find symbol
[ERROR] symbol: class XmlType
[ERROR] location: class org.openehr.designer.am.AmTypeGraph
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :designer