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

resolved to a type #110

Open
hadesgrid opened this issue Jun 2, 2021 · 7 comments
Open

resolved to a type #110

hadesgrid opened this issue Jun 2, 2021 · 7 comments

Comments

@hadesgrid
Copy link

Dear Sir,
I am trying to implement the stix-java proyect but i am having lots of problems when referencing the classes. The following error is shown:
ArchiveFileExtension cannot be resolved to a type
in the src\main\java\io\digitalstate\stix\coo\extension\types\ArchiveFileExtensionExt.java
I also have the same problem with other classes like Artifact, AttackPattern, AutonomousSystem, etc

could you help me to solve this problem
Many thanks in advance
Ana

@hadesgrid
Copy link
Author

Hello Sephen,
Could it be possible that the missing classes like AttackPattern are the Domain Objects ? I am trying to use the code and trying to guess what is missing
thank you in advance

@StephenOTT
Copy link
Owner

Can you post a snippet of your code/class you are building.

Attack pattern is a Domain Object as per: https://github.com/StephenOTT/STIX-Java/blob/master/src/main/java/io/digitalstate/stix/sdo/objects/AttackPatternSdo.java#L36

@hadesgrid
Copy link
Author

hadesgrid commented Jun 10, 2021 via email

@StephenOTT
Copy link
Owner

If the class file: https://github.com/StephenOTT/STIX-Java/blob/master/src/main/java/io/digitalstate/stix/sdo/objects/AttackPatternSdo.java#L36 is missing from your cloned version then I would suggest to reclone.

Which branch did you clone from?

@hadesgrid
Copy link
Author

hadesgrid commented Jun 11, 2021 via email

@hadesgrid
Copy link
Author

hadesgrid commented Jun 11, 2021 via email

@hadesgrid
Copy link
Author

hadesgrid commented Jun 11, 2021 via email

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

2 participants