how can i solve this error in schemaspy - java

at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:51)
ERROR - mssql08 (The system cannot find the file specified)
java.io.FileNotFoundException: mssql08 (The system cannot find the file specified)
at java.io.FileInputStream.open0(Native Method)

You're probably running a version without support for mssql08.
Verify by
java -jar schemaspy.jar -dbhelp
You can get the latest snapshot at
https://github.com/schemaspy/schemaspy/blob/master/README.md#latest-build

Related

Android Studio can't open (port.lock access denied)

When I open the Android Studio it gives the following error:
java.io.FileNotFoundException: C:\Users\HP\.AndroidStudio2.2\config\port.lock (Access is denied)
The javac path is correct
and the file has anyone can access (port.lock)
This is the full error message which I was getting:
java.io.FileNotFoundException: C:\Users\HP\.AndroidStudio2.2\config\port.lock (Access is denied)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at com.intellij.idea.SocketLock.underLocks(SocketLock.java:186)
at com.intellij.idea.SocketLock.lock(SocketLock.java:128)
at com.intellij.idea.StartupUtil.lockSystemFolders(StartupUtil.java:318)
at com.intellij.idea.StartupUtil.prepareAndStart(StartupUtil.java:140)
at com.intellij.idea.MainImpl.start(MainImpl.java:34)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.ide.plugins.PluginManager$2.run(PluginManager.java:93)
at java.lang.Thread.run(Thread.java:745)
In my case i have to apply tick to hidden icons in also sub folders of C:\Users\HP and again apply tick to show hidden icons.Now works fine
In my case, Java was installed under a different admin account on the default path, while I was trying to use Java under my admin account.
After a new installation of Java under my own admin account, the problem got solved.
Try to to delete everything under C:\Users\Administrator.gradle\caches. There is a cache.properties.lock that is holding a global lock which is preventing you from running your script. Using MacOS you will find it in your home directory ~/.gradle/caches
It Works for me.
I hope It Should fix the problem.
I had the same problem and in my case the problem was with permissions for the config folder - for some reason the config folder was read only.
I changed the permissions and it was ok.
My Android Studio was not opening and throwing the same error as above.
I went and deleted the below folder -
.AndroidStudio3.5 (It should be in C:/users/[insert current user]/.androidstudio3.5)
Delete the whole folder and try running the studio again.

Issue in jar -xvf command

C:\Users\sunka\Desktop\CS DEPT\fall 2k16\information structures>jar
-xvf week2.zip
java.io.FileNotFoundException: week2.zip (The system cannot find the file specified)
at java.io.FileInputStream.open0(Native Method)
at java.io.FileInputStream.open(FileInputStream.java:195)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at java.io.FileInputStream.<init>(FileInputStream.java:93)
at sun.tools.jar.Main.run(Main.java:307)
at sun.tools.jar.Main.main(Main.java:1288)
When I am trying to unzip using jar -xvf, I am getting file not found exception. I used the same command in my office, it was working. I made sure that zip file and jar file are present in the directory.
Check if you in same directory where you have zip file placed.
Because if JAVA path is set properly and your are giving right zip file name with correct path it works fine.

CHelper Codeforce/Topcoder plugin issue

I install the plugin CHelper for InelliJ IDEA (for MacOSX) and it doesn't work fine. I have a problem to compile a task problem, you can see the log in below.
Exception in thread "main" java.lang.RuntimeException: java.io.FileNotFoundException: /src/test/A - Maze.task (No such file or directory)
at net.egork.chelper.tester.NewTester.test(NewTester.java:41)
at net.egork.chelper.tester.NewTester.main(NewTester.java:23)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
Caused by: java.io.FileNotFoundException: /src/test/A - Maze.task (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:120)
at java.io.FileInputStream.<init>(FileInputStream.java:79)
at net.egork.chelper.tester.NewTester.test(NewTester.java:39)
... 6 more
The Event Log : 20:12:53 Compilation completed successfully in 1 sec
My chelper.properties :
smartTesting=true
archiveDirectory=/src/archive
defaultDirectory=/src/test
extensionProposed=true
outputClass=java.io.PrintWriter
excludePackages=java.,javax.,com.sun.
outputDirectory=/src
author=
libraryMigrated=true
failOnIntegerOverflowForNewTasks=false
inputClass=java.util.Scanner
enableUnitTests=true
testDirectory=/src/test
Some Image to clarify my question/problem.
Can anyone help me to fix that issue in my config?
Thanks!
Check the output folder selected in your projects build path. Are these uncompiled files in your src folder in your build folder? I am betting they are not since most project builders will only copy over the compiled class files. If that is the case you will need to Google the Resource folder that Eclipse uses to copy them to instead.

java.io.FileNotFoundException: ~/play-2.1.1/framework/sbt/boot/update.log (No such file or directory)

I wrote a Puppet to install Play 2.1.1 on Virtual Machine running CentOS 6.2.
The Puppet executed the following two commands:
/usr/bin/wget http://downloads.typesafe.com/play/2.1.1/play-2.1.1.zip
/usr/bin/unzip play-2.1.1.zip
When I run play command inside the package, it shows the following error message:
java.io.FileNotFoundException: ~/play-2.1.1/framework/sbt/boot/update.log (No such file or directory)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:209)
at java.io.FileOutputStream.<init>(FileOutputStream.java:160)
at java.io.FileWriter.<init>(FileWriter.java:90)
at xsbt.boot.Update.<init>(Checks.java:51)
at xsbt.boot.Launch.update(Launch.scala:275)
at xsbt.boot.Launch$$anonfun$jnaLoader$1.apply(Launch.scala:120)
at scala.Option.getOrElse(Option.scala:108)
at xsbt.boot.Launch.jnaLoader$2f324eef(Launch.scala:115)
at xsbt.boot.Launch.<init>(Launch.scala:94)
at xsbt.boot.Launcher$.apply(Launch.scala:290)
at xsbt.boot.Launch$.apply(Launch.scala:16)
at xsbt.boot.Boot$.runImpl(Boot.scala:31)
at xsbt.boot.Boot$.main(Boot.scala:20)
at xsbt.boot.Boot.main(Boot.scala)
Error during sbt execution: java.io.FileNotFoundException: ~/play-2.1.1/framework/sbt/boot/update.log (No such file or directory)
I didn't change a single line of code in the play-2.1.1 directory. I googled around for the error message, but did not find any useful answer. Could anyone point out what is the problem?
If the file does not exist and cannot be created,FileOutputStream will raise a FileNotFoundException (yes, this seems weird, but see the javadoc).
This error probably means that the user that started play does not have the proper permissions to create ~/play-2.1.1/framework/sbt/boot/update.log or its parent directories.

what does this java error mean?

I'm trying to convince Zucker Reports to display a Jasper report but am getting a Java error and I don't speak java-ese. I see that there is a file not found error, but I can't figure out which file is not found. I replaced the long classpath with <SNIP>.
error compiling report report2.jrxml - cmdline: javaw -classpath "<SNIP>"
at.go_mobile.zuckerreports.JasperCompileMain D:\Program Files\sugarcrm-5.2.0e\php\tmp\php83.tmp modules/ZuckerReports/resources/report2.jasper 2>&1
JasperBatchMain :: compiling jasper design D:\Program to Files\sugarcrm-5.2.0e\php\tmp\php83.tmp
JasperBatchMain :: java.io.FileNotFoundException: D:\Program (The system cannot find the file specified)
net.sf.jasperreports.engine.JRException: java.io.FileNotFoundException: D:\Program (The system cannot find the file specified)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:172)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:152)
at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:150)
at at.go_mobile.zuckerreports.JasperCompileMain.main(JasperCompileMain.java:17)
Caused by: java.io.FileNotFoundException: D:\Program (The system cannot find the file specified)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.(Unknown Source)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:167)
You have a space in your file path. Enclose it in double quotes.
Possibly in the <SNIP> part. Try placing your files outside of Program Files.
Look at this bit of the error message:
compiling jasper design D:\Program to
Files\sugarcrm-5.2.0e\php\tmp\php83.tmp
It's taken the filename with a space in and interpreted it as two separate arguments.
Either quote the filename or (possibly simpler) move everything to a directory without a space in the name.
What program did you use to generate the JasperReports file report2.jrxml? iReport? My guess is that your iReport is too new, the JasperReports engine came with ZuckerReports is quite old. Try use an older version of iReport instead.

Categories

Resources