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

Problem importing files #4

Open
DomSavd opened this issue Apr 29, 2013 · 3 comments
Open

Problem importing files #4

DomSavd opened this issue Apr 29, 2013 · 3 comments

Comments

@DomSavd
Copy link

DomSavd commented Apr 29, 2013

Im tyring to import files in Karma v1.80 and i get and error message thats saying File upload failed.

Here is the error message i get in the terminal:

ERROR qtp507538185-22 - /RequestController?workspaceId=WSP1&command=ImportJSONFileCommand - Could not parse as JSONObject or JSONArray
2013-04-30 17:55:45.210:WARN:oejs.ServletHandler:Error for /RequestController
java.lang.Error: Can only import objects or arrays.

Can you please help me with this?

Thank you.

@shubhamg
Copy link
Contributor

shubhamg commented May 3, 2013

What kind of file are you importing? If it's a JSON file (looks like that), then can you make sure its a valid file. You can validate at jsonlint.com.

@DomSavd
Copy link
Author

DomSavd commented May 7, 2013

Thank you for the answer but my JSON file is valid. Here's some warning that i get while starting up karma:
[WARNING]
[WARNING] Some problems were encountered while building the effective model for edu.isi:webkarma:war:0.0.1-SNAPSHOT
[WARNING] 'dependencies.dependency.systemPath' for weka:weka:jar should not point at files within the project directory, ${project.basedir}/lib/weka.jar will be unresolvable by dependent projects @ line 100, column 18
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: com.healthmarketscience.jackcess:jackcess:jar -> version 1.2.10 vs 1.2.4 @ line 176, column 21
[WARNING] 'dependencies.dependency.systemPath' for uk.ac.shef.wit.simmetrics:simmetrics:jar should not point at files within the project directory, ${project.basedir}/lib/simmetrics_jar_v1_6_2_d07_02_07.jar will be unresolvable by dependent projects @ line 242, column 19
[WARNING] 'dependencies.dependency.systemPath' for com.jspsmart.upload:jspsmartupload:jar should not point at files within the project directory, ${project.basedir}/lib/jsmartupload.jar will be unresolvable by dependent projects @ line 259, column 19
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 374, column 16
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.

Do you know what could this mean?

Thank you!

@shubhamg
Copy link
Contributor

shubhamg commented May 7, 2013

These warnings should not be a problem. These are generated when using a library not from the Maven repository but directly through a folder.

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