ant build issue in Maximo Anywhere - maximo-anywhere

I am getting below error during ant build after running rdf puller.
[java] Caused by: java.lang.RuntimeException: com.ibm.tivoli.si.build.rdf.dictionary.NotExistOSLCFieldException: type in [http://jazz.net/ns/ism/asset/smarter_physical_infrastructure#ResAnywhereResource]
Please help me in resolving this issue.
Thanks

You will need to import the RDFs prior to build. Please refer the solution mentioned in the below link.
http://www-01.ibm.com/support/docview.wss?uid=swg21690466

This can be fixed by running rdf-puller:
ant -f anywhere-rdfs-puller.xml -Dadapter.connection.user= -Dadapter.connection.password=

Related

Caused by: java.io.FileNotFoundException: /wso2am-3.2.0/repository\conf\advanced\qpid-config.xml (No such file or directory)

I want to run wso2api manager 3.2.0 in linux, but I face following exception:
Caused by: java.io.FileNotFoundException:/wso2am-3.2.0/repository\conf\advanced\qpid-config.xml (No such file or directory)
could you please guide me.
Thanks.
The problem has been solved. It was because of extract binary in windows then copy it to linux.

Android Studio 4 Build ERROR : Execution failed for task ':app:mergeDebugResources'

Hello this is my first time make android program and found this error but the code not have an error point. the error message is below :
Execution failed for task ':app:mergeDebugResources'.
Could not resolve all files for configuration ':app:_internal_aapt2_binary'.
Failed to transform aapt2-4.1.1-6503028-windows.jar (com.android.tools.build:aapt2:4.1.1-6503028) to match attributes {artifactType=_internal-android-aapt2-binary, org.gradle.libraryelements=jar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for Aapt2Extractor: C:\Users\lenovo.gradle\caches\modules-2\files-2.1\com.android.tools.build\aapt2\4.1.1-6503028\cc838ebadee3649d47e07d029371bc1054e2200d\aapt2-4.1.1-6503028-windows.jar.
> java.io.IOException: Unable to delete directory 'C:\Users\lenovo.gradle\caches\transforms-2\files-2.1\aa8b5888abc00f78a9403248465821cc'
Failed to delete some children. This might happen because a process has files open or has its working directory set in the target directory.
- C:\Users\lenovo.gradle\caches\transforms-2\files-2.1\aa8b5888abc00f78a9403248465821cc\aapt2-4.1.1-6503028-windows
can someone tell me how to fix it ?
i had same problem in linux
tried many ways and asked some question.
finally found out there is file missing named aap2 in build-tools
i couldn't find that file to place it in destination so i deleted whole file and re Download it with sdk manager and if it doesn't work too i guess u should try reinstall android studio
yes its not a good answer but it was all experience i had with this error.

sbt lagom template+InvalidRemoteException

I tried to follow the follow tutorial:
https://www.lagomframework.com/documentation/1.4.x/java/GettingStartedSbt.html
For generating the project scaffolding, I want to use the following template:
sbt new lagom/lagom-java.g8
But already receive the following error:
[error] org.eclipse.jgit.api.errors.InvalidRemoteException: Invalid remote: origin
A bit frustrating at such early stage in the tutorial...
Any idea how to fix this?
Edit: the error is caused by:
[error] Caused by: org.eclipse.jgit.errors.NoRemoteRepositoryException: https//github.com/lagom/lagom-java.g8.git: not found.
Seems there is a :missing after https. How to fix?
Verify you have the prerequisites. Prerequisites documented here https://www.lagomframework.com/documentation/1.4.x/java/JavaPrereqs.html
I just followed the instructions and was unable to reproduce the error from the CLI using sbt version 1.1.1.
What version of sbt are you using?

TinyOS Mote to PC Communication Error in HplAtm128UartC

Good Morning,
I'm trying to use TinyOS for a WSN.
I'm using the app folder where there are:
- BaseStation
- BaseStation 15.4
- test/TestSerial
but for all app when i do "make iris" it generate the error:
In component HplAtm128UartC':
../../tos/chips/atm128/HplAtm128UartC.nc:59: cannot findHplUart0Config'
../../tos/chips/atm128/HplAtm128UartC.nc:64: cannot find `HplUart1Config'
make: *** [exe] Error 1
How can I fix that?
I resolve it by reinstall all of component.
But when I try to use this tutorial: Mote-PC tutorial I have this problem:
java.lang.ClassNotFoundException: TestSerialMsg
or the same error when I apply on the BlinkToRadio:
java.lang.ClassNotFoundException: BlinkToRadioMsg
How can i Solve this?

IKVM with UnsupportedClassVersionError

I get the following error when trying to run my simple java class with ikvm on Windows.
Exception in thread "main" java.lang.UnsupportedClassVersionError: dummy (52
.0)
at IKVM.NativeCode.java.lang.ClassLoader.defineClass1(Unknown Source)
...
at IKVM.NativeCode.java.lang.Class.forName0(Unknown Source)
at java.lang.Class.forName(Class.java:361)
Since I am able to run the same class on my Mac with mono - it shouldn't be a the JDK version (which is 1.8). I have checked the classpath, which directs to the /lib directory of ikvm and the current directory.
Both ikvm and ikvmc won't work on Windows Server 2012. Everything is accessible - javac, csc, ikvmc. I get the classpath just fine with echo %CLASSPATH%.
I am missing something here - but what? I have been searching and reading through the mailing list; it's apparently the most asked question to be mentioned in the FAQ, but I don't see the next steps of troubleshooting this.
Thank you for your help!

Resources