在 android java.awt 中使用 java jdk

我在 android 程序中使用java.awt.polygon 类。在Java构建路径中添加了

Jave JRE System library jdk 1.7

但是在使用下面这段代码时

java.awt.Polygon polyGon = new Polygon();

获得错误NoClassDefFoundError
如何在android中使用java类?

2个回答

java awt包只使用了2个类 一个是java.awt.font.NumericShaper 一个是java.awt.font.TextAttribute 不能使用SDK中没有的java类

你说的 在 android 程序中使用java.awt.polygon 类 是不可能的,那个类在 android 中不存在。
Jave JRE System library jdk 1.7 在 android 中也是不存在的。当你在创建路径中添加时,它不包括在APK中,也不在操作系统中。

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
Android Studio 升级到3.5的错误

Android Studio 弹出升级的消息框,手贱点了一下 ,然后升级到了Android Studio3.5,升级完成后打开Android Studio ,提示升级失败,查看错误为: java.lang.UnsatisfiedLinkError: org.sqlite.core.NativeDB._open_utf8([BI)V at org.sqlite.core.NativeDB._open_utf8(Native Method) at org.sqlite.core.NativeDB._open(NativeDB.java:71) at org.sqlite.core.DB.open(DB.java:174) at org.sqlite.core.CoreConnection.open(CoreConnection.java:220) at org.sqlite.core.CoreConnection.<init>(CoreConnection.java:76) at org.sqlite.jdbc3.JDBC3Connection.<init>(JDBC3Connection.java:25) at org.sqlite.jdbc4.JDBC4Connection.<init>(JDBC4Connection.java:24) at org.sqlite.SQLiteConnection.<init>(SQLiteConnection.java:45) at org.sqlite.JDBC.createConnection(JDBC.java:114) at org.sqlite.JDBC.connect(JDBC.java:88) at java.sql.DriverManager.getConnection(DriverManager.java:664) at java.sql.DriverManager.getConnection(DriverManager.java:270) at com.android.tools.deployer.SqlApkFileDatabase.<init>(SqlApkFileDatabase.java:62) at com.android.tools.deployer.SqlApkFileDatabase.<init>(SqlApkFileDatabase.java:50) at com.android.tools.idea.run.DeploymentService.<init>(DeploymentService.java:56) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at org.picocontainer.defaults.InstantiatingComponentAdapter.newInstance(InstantiatingComponentAdapter.java:193) at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.doGetComponentInstance(CachingConstructorInjectionComponentAdapter.java:92) at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.instantiateGuarded(CachingConstructorInjectionComponentAdapter.java:66) at com.intellij.util.pico.CachingConstructorInjectionComponentAdapter.getComponentInstance(CachingConstructorInjectionComponentAdapter.java:48) at com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAdapter.createAndInitialize(ServiceManagerImpl.java:222) at com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAdapter.lambda$getComponentInstance$0(ServiceManagerImpl.java:209) at com.intellij.openapi.components.impl.ServiceManagerImpl$MyComponentAdapter.getComponentInstance(ServiceManagerImpl.java:213) at com.intellij.util.pico.DefaultPicoContainer.getLocalInstance(DefaultPicoContainer.java:246) at com.intellij.util.pico.DefaultPicoContainer.getComponentInstance(DefaultPicoContainer.java:213) at com.intellij.openapi.components.ServiceManager.doGetService(ServiceManager.java:52) at com.intellij.openapi.components.ServiceManager.getService(ServiceManager.java:30) at com.android.tools.idea.run.DeploymentService.getInstance(DeploymentService.java:48) at com.android.tools.idea.deploy.DeployActionsInitializer.updateDeployableProvider(DeployActionsInitializer.java:184) at com.android.tools.idea.deploy.DeployActionsInitializer.access$000(DeployActionsInitializer.java:56) at com.android.tools.idea.deploy.DeployActionsInitializer$1.projectOpened(DeployActionsInitializer.java:123) 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.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:114) at com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:393) at com.intellij.util.messages.impl.MessageBusImpl.pumpWaitingBuses(MessageBusImpl.java:354) at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:343) at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:320) at com.intellij.util.messages.impl.MessageBusImpl.access$100(MessageBusImpl.java:29) at com.intellij.util.messages.impl.MessageBusImpl$1.invoke(MessageBusImpl.java:192) at com.sun.proxy.$Proxy17.projectOpened(Unknown Source) at com.intellij.openapi.project.impl.ProjectManagerImpl.fireProjectOpened(ProjectManagerImpl.java:780) at com.intellij.openapi.project.impl.ProjectManagerImpl.lambda$null$6(ProjectManagerImpl.java:401) at com.intellij.openapi.application.TransactionGuardImpl.lambda$submitTransactionAndWait$2(TransactionGuardImpl.java:165) at com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:88) at com.intellij.openapi.application.TransactionGuardImpl.lambda$submitTransaction$1(TransactionGuardImpl.java:111) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.doRun(LaterInvocator.java:435) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.runNextEvent(LaterInvocator.java:419) at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:403) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764) at java.awt.EventQueue.access$500(EventQueue.java:98) at java.awt.EventQueue$3.run(EventQueue.java:715) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) at java.awt.EventQueue.dispatchEvent(EventQueue.java:734) at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:757) at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:706) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:375) at com.intellij.ide.IdeEventQueue.pumpEventsForHierarchy(IdeEventQueue.java:814) at com.intellij.openapi.progress.util.ProgressWindow.startBlocking(ProgressWindow.java:210) at com.intellij.openapi.progress.util.ProgressWindow.startBlocking(ProgressWindow.java:196) at com.intellij.openapi.application.impl.ApplicationImpl.runProcessWithProgressSynchronously(ApplicationImpl.java:609) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcessWithProgressSynchronously(CoreProgressManager.java:454) at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcessWithProgressSynchronously(ProgressManagerImpl.java:109) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcessWithProgressSynchronously(CoreProgressManager.java:251) at com.intellij.openapi.progress.impl.CoreProgressManager.runProcessWithProgressSynchronously(CoreProgressManager.java:205) at com.intellij.openapi.project.impl.ProjectManagerImpl.loadProjectUnderProgress(ProjectManagerImpl.java:450) at com.intellij.openapi.project.impl.ProjectManagerImpl.openProject(ProjectManagerImpl.java:425) at com.intellij.platform.PlatformProjectOpenProcessor.doOpenProject(PlatformProjectOpenProcessor.java:260) at com.intellij.ide.RecentProjectsManagerBase.doOpenProject(RecentProjectsManagerBase.java:512) at com.intellij.ide.RecentProjectsManagerBase.doReopenLastProject(RecentProjectsManagerBase.java:634) at com.intellij.ide.RecentProjectsManagerBase$MyAppLifecycleListener.appStarting(RecentProjectsManagerBase.java:692) 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.util.messages.impl.MessageBusConnectionImpl.deliverMessage(MessageBusConnectionImpl.java:114) at com.intellij.util.messages.impl.MessageBusImpl.doPumpMessages(MessageBusImpl.java:393) at com.intellij.util.messages.impl.MessageBusImpl.pumpWaitingBuses(MessageBusImpl.java:354) at com.intellij.util.messages.impl.MessageBusImpl.pumpMessages(MessageBusImpl.java:343) at com.intellij.util.messages.impl.MessageBusImpl.sendMessage(MessageBusImpl.java:320) at com.intellij.util.messages.impl.MessageBusImpl.access$100(MessageBusImpl.java:29) at com.intellij.util.messages.impl.MessageBusImpl$1.invoke(MessageBusImpl.java:192) at com.sun.proxy.$Proxy63.appStarting(Unknown Source) at com.intellij.idea.IdeaApplication$IdeStarter.lambda$main$1(IdeaApplication.java:388) at com.intellij.openapi.application.TransactionGuardImpl.runSyncTransaction(TransactionGuardImpl.java:88) at com.intellij.openapi.application.TransactionGuardImpl.lambda$submitTransaction$1(TransactionGuardImpl.java:111) at com.intellij.openapi.application.TransactionGuardImpl.submitTransaction(TransactionGuardImpl.java:120) at com.intellij.openapi.application.TransactionGuard.submitTransaction(TransactionGuard.java:121) at com.intellij.idea.IdeaApplication$IdeStarter.main(IdeaApplication.java:386) at com.intellij.idea.IdeaApplication.lambda$run$1(IdeaApplication.java:220) at com.intellij.openapi.application.TransactionGuardImpl.performUserActivity(TransactionGuardImpl.java:195) at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:220) at com.intellij.idea.IdeaApplication.lambda$initApplication$0(IdeaApplication.java:77) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:764) at java.awt.EventQueue.access$500(EventQueue.java:98) at java.awt.EventQueue$3.run(EventQueue.java:715) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) at java.awt.EventQueue.dispatchEvent(EventQueue.java:734) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:349) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) 操作系统是Win10 专业版 64位。 以为是我的老版本导致的程序不对,然后把和Android Studio有关的文件都删了,重新安装,安装好了以后可以用了,但是关了AS,再重新打开AS,又开始报上面的错误,有没有遇到这个问题的?如何来解决这个问题? ------------------------------------------------------------》》》》》 很白痴的问题,以及个人的习惯导致的,使用管理员权限打开就好了,AS会在AppData/Local 中创建一个临时的sqlite 数据访问的dll,不是管理员权限访问不了,就导致了这个错误。

Linux下安装Android Studio出错,求大神解答!

**JDK都配置好了,运行** ``` zoegreen@zoegreen-Lenovo-IdeaPad-Y470:/opt/android-studio/bin$ java -version java version "1.7.0_51" Java(TM) SE Runtime Environment (build 1.7.0_51-b13) Java HotSpot(TM) Server VM (build 24.51-b03, mixed mode) ``` **但在最后一步执行./studio.sh时不能打开studio,出现以下错误:** ``` zoegreen@zoegreen-Lenovo-IdeaPad-Y470:/opt/android-studio/bin$ sudo ./studio.sh [sudo] password for zoegreen: Start Failed: Internal error. Please report to https://code.google.com/p/android/issues java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.intellij.ide.Bootstrap.main(Bootstrap.java:39) at com.intellij.idea.Main.main(Main.java:83) Caused by: java.lang.UnsatisfiedLinkError: /usr/lib/jvm/jdk1.7.0_51/jre/lib/i386/xawt/libmawt.so: libXtst.so.6: 错误 ELF 类: ELFCLASS64 at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1851) at java.lang.Runtime.load0(Runtime.java:795) at java.lang.System.load(System.java:1062) at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1872) at java.lang.Runtime.loadLibrary0(Runtime.java:849) at java.lang.System.loadLibrary(System.java:1088) at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:67) at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:47) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Toolkit.loadLibraries(Toolkit.java:1646) at java.awt.Toolkit.<clinit>(Toolkit.java:1668) at java.awt.Cursor.<clinit>(Cursor.java:195) at javax.swing.text.html.HTMLEditorKit.<clinit>(HTMLEditorKit.java:624) at com.intellij.util.ui.UIUtil.<clinit>(UIUtil.java:96) at com.intellij.ide.plugins.PluginManager.start(PluginManager.java:71) ... 6 more Also, an UI exception occurred on attempt to show above message: java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit at java.awt.Component.<clinit>(Component.java:595) at com.intellij.idea.Main.showMessage(Main.java:231) at com.intellij.idea.Main.showMessage(Main.java:217) at com.intellij.idea.Main.main(Main.java:86) ```

Linux下安装Android Studio出错,求大神解答!

**JDK都配置好了,运行** ``` zoegreen@zoegreen-Lenovo-IdeaPad-Y470:/opt/android-studio/bin$ java -version java version "1.7.0_51" Java(TM) SE Runtime Environment (build 1.7.0_51-b13) Java HotSpot(TM) Server VM (build 24.51-b03, mixed mode) ``` **但在最后一步执行./studio.sh时不能打开studio,出现以下错误:** ``` zoegreen@zoegreen-Lenovo-IdeaPad-Y470:/opt/android-studio/bin$ ./studio.sh Start Failed: Internal error. Please report to https://code.google.com/p/android/issues java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.intellij.ide.Bootstrap.main(Bootstrap.java:39) at com.intellij.idea.Main.main(Main.java:83) Caused by: java.lang.UnsatisfiedLinkError: /usr/lib/jvm/jdk1.7.0_51/jre/lib/i386/xawt/libmawt.so: libXtst.so.6: 无法打开共享对象文件: 没有那个文件或目录 at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1851) at java.lang.Runtime.load0(Runtime.java:795) at java.lang.System.load(System.java:1062) at java.lang.ClassLoader$NativeLibrary.load(Native Method) at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965) at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890) at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1872) at java.lang.Runtime.loadLibrary0(Runtime.java:849) at java.lang.System.loadLibrary(System.java:1088) at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:67) at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:47) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Toolkit.loadLibraries(Toolkit.java:1646) at java.awt.Toolkit.<clinit>(Toolkit.java:1668) at java.awt.Cursor.<clinit>(Cursor.java:195) at javax.swing.text.html.HTMLEditorKit.<clinit>(HTMLEditorKit.java:624) at com.intellij.util.ui.UIUtil.<clinit>(UIUtil.java:96) at com.intellij.ide.plugins.PluginManager.start(PluginManager.java:71) ... 6 more Also, an UI exception occurred on attempt to show above message: java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit at java.awt.Component.<clinit>(Component.java:595) at com.intellij.idea.Main.showMessage(Main.java:231) at com.intellij.idea.Main.showMessage(Main.java:217) at com.intellij.idea.Main.main(Main.java:86) ```

pycharm启动出错,Entry META-INF/PlatformLangXmlPlugin.xml not found in /lib/pycharm.jar

PyCharm Community Edition 2019.1.1 python-3.7.3 jdk1.8.0_212 ![图片说明](https://img-ask.csdn.net/upload/201905/05/1557040386_312448.png) 完整报错信息: Internal error. Please report to http://jb.gg/ide/critical-startup-errors java.lang.RuntimeException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: com.intellij.util.xmlb.XIncludeException: java.io.FileNotFoundException: Entry META-INF/PlatformLangXmlPlugin.xml not found in D:/ProgramFiles/PyCharm Community Edition 2019.1.1/lib/pycharm.jar at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:215) at com.intellij.idea.IdeaApplication.lambda$initApplication$0(IdeaApplication.java:74) at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source) at java.desktop/java.awt.EventQueue$4.run(Unknown Source) at java.desktop/java.awt.EventQueue$4.run(Unknown Source) at java.base/java.security.AccessController.doPrivileged(Native Method) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source) at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source) at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:347) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.desktop/java.awt.EventDispatchThread.run(Unknown Source) Caused by: java.lang.RuntimeException: java.util.concurrent.ExecutionException: com.intellij.util.xmlb.XIncludeException: java.io.FileNotFoundException: Entry META-INF/PlatformLangXmlPlugin.xml not found in D:/ProgramFiles/PyCharm Community Edition 2019.1.1/lib/pycharm.jar at com.intellij.util.ExceptionUtilRt.rethrow(ExceptionUtilRt.java:31) at com.intellij.ide.plugins.PluginManagerCore.loadDescriptors(PluginManagerCore.java:1212) at com.intellij.ide.plugins.PluginManagerCore.initializePlugins(PluginManagerCore.java:1410) at com.intellij.ide.plugins.PluginManagerCore.initPlugins(PluginManagerCore.java:1586) at com.intellij.ide.plugins.PluginManagerCore.getLoadedPlugins(PluginManagerCore.java:139) at com.intellij.openapi.components.impl.ComponentManagerImpl.getComponentConfigs(ComponentManagerImpl.java:291) at com.intellij.openapi.components.impl.ComponentManagerImpl.init(ComponentManagerImpl.java:79) at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:407) at com.intellij.openapi.application.impl.ApplicationImpl.load(ApplicationImpl.java:393) at com.intellij.idea.IdeaApplication.run(IdeaApplication.java:208) ... 15 more Caused by: java.util.concurrent.ExecutionException: com.intellij.util.xmlb.XIncludeException: java.io.FileNotFoundException: Entry META-INF/PlatformLangXmlPlugin.xml not found in D:/ProgramFiles/PyCharm Community Edition 2019.1.1/lib/pycharm.jar at java.base/java.util.concurrent.FutureTask.report(Unknown Source) at java.base/java.util.concurrent.FutureTask.get(Unknown Source) at com.intellij.ide.plugins.PluginManagerCore.loadDescriptorsFromClassPath(PluginManagerCore.java:1095) at com.intellij.ide.plugins.PluginManagerCore.loadDescriptors(PluginManagerCore.java:1203) ... 23 more Caused by: com.intellij.util.xmlb.XIncludeException: java.io.FileNotFoundException: Entry META-INF/PlatformLangXmlPlugin.xml not found in D:/ProgramFiles/PyCharm Community Edition 2019.1.1/lib/pycharm.jar at com.intellij.util.xmlb.JDOMXIncluder.parseRemote(JDOMXIncluder.java:342) at com.intellij.util.xmlb.JDOMXIncluder.resolveXIncludeElement(JDOMXIncluder.java:253) at com.intellij.util.xmlb.JDOMXIncluder$InplaceJdomXIncluder.resolveNonXIncludeElement(JDOMXIncluder.java:107) at com.intellij.util.xmlb.JDOMXIncluder.resolve(JDOMXIncluder.java:222) at com.intellij.util.xmlb.JDOMXIncluder.parseRemote(JDOMXIncluder.java:326) at com.intellij.util.xmlb.JDOMXIncluder.resolveXIncludeElement(JDOMXIncluder.java:253) at com.intellij.util.xmlb.JDOMXIncluder$InplaceJdomXIncluder.resolveNonXIncludeElement(JDOMXIncluder.java:107) at com.intellij.util.xmlb.JDOMXIncluder.resolveNonXIncludeElement(JDOMXIncluder.java:84) at com.intellij.ide.plugins.IdeaPluginDescriptorImpl.readExternal(IdeaPluginDescriptorImpl.java:141) at com.intellij.ide.plugins.IdeaPluginDescriptorImpl.readExternal(IdeaPluginDescriptorImpl.java:126) at com.intellij.ide.plugins.PluginManagerCore.loadDescriptorFromJar(PluginManagerCore.java:698) at com.intellij.ide.plugins.PluginManagerCore.loadDescriptor(PluginManagerCore.java:826) at com.intellij.ide.plugins.PluginManagerCore.loadDescriptor(PluginManagerCore.java:724) at com.intellij.ide.plugins.PluginManagerCore.loadDescriptorFromResource(PluginManagerCore.java:1144) at com.intellij.ide.plugins.PluginManagerCore.lambda$loadDescriptorsFromClassPath$11(PluginManagerCore.java:1089) at java.base/java.util.concurrent.FutureTask.run(Unknown Source) at com.intellij.util.concurrency.BoundedTaskExecutor.doRun(BoundedTaskExecutor.java:220) at com.intellij.util.concurrency.BoundedTaskExecutor.access$100(BoundedTaskExecutor.java:26) at com.intellij.util.concurrency.BoundedTaskExecutor$2.lambda$run$0(BoundedTaskExecutor.java:198) at com.intellij.util.ConcurrencyUtil.runUnderThreadName(ConcurrencyUtil.java:224) at com.intellij.util.concurrency.BoundedTaskExecutor$2.run(BoundedTaskExecutor.java:194) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.base/java.lang.Thread.run(Unknown Source) Caused by: java.io.FileNotFoundException: Entry META-INF/PlatformLangXmlPlugin.xml not found in D:/ProgramFiles/PyCharm Community Edition 2019.1.1/lib/pycharm.jar at com.intellij.util.io.URLUtil.openJarStream(URLUtil.java:91) at com.intellij.util.io.URLUtil.openStream(URLUtil.java:52) at com.intellij.util.io.URLUtil.openResourceStream(URLUtil.java:58) at com.intellij.openapi.util.JDOMUtil.loadResource(JDOMUtil.java:349) at com.intellij.util.xmlb.JDOMXIncluder.parseRemote(JDOMXIncluder.java:325) ... 23 more

idea,gradle项目报错,解决不了/(ㄒoㄒ)/~~.

``` import javax.swing.*; public class test { private JPanel panel1; public static void main(String[] args) { JFrame frame = new JFrame("test"); frame.setContentPane(new test().panel1); frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); frame.pack(); frame.setVisible(true); } } //自动生成的方法,第六行会报错,注释掉能运行...... ``` ![图片说明](https://img-ask.csdn.net/upload/201909/21/1569072123_755971.png) 报错信息: ------------------------------------------------------------------------------- Gradle Daemon started in 2 s 140 ms > Task :compileJava > Task :processResources NO-SOURCE > Task :classes > Task :test.main() FAILED Exception in thread "main" java.awt.IllegalComponentStateException: contentPane cannot be set to null. at java.desktop/javax.swing.JRootPane.setContentPane(JRootPane.java:598) at java.desktop/javax.swing.JFrame.setContentPane(JFrame.java:679) at test.main(test.java:8) FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':test.main()'. > Process 'command 'C:/Program Files/Java/jdk-12.0.2/bin/java.exe'' finished with non-zero exit value 1 * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/5.2.1/userguide/command_line_interface.html#sec:command_line_warnings BUILD FAILED in 6s 2 actionable tasks: 2 executed 21:15:23: External task execution finished ' 'test.main()''. --------------------------------------------------------------------------- ![图片说明](https://img-ask.csdn.net/upload/201909/21/1569072154_766250.png) 根据网上的教程搞得,以前可以运行,一顿操作后就报错了,更新版本,然后插件出了问题,卸载自己安装的插件.jdk一直是最新的12.

关于java Point2D的小问题

看的Java语言程序设计基础篇第10版 书第9章第6节3中的程序清单9-5中用了Point2D类。在引用时写的是: import javafx.geometry.Point2D 我用的是Eclipse,提示 ``` Multiple markers at this line - The import javafx.geometry.Point2D is never used - Access restriction: The type 'Point2D' is not API (restriction on required library 'D:\java\jdk1.8.0_45\jre\lib\ext \jfxrt.jar') ``` 后来查java的文档Java Platform Standard Edition 8 Documentation,写的是 java.awt.geom.Point2D 这是咋回事?书上写错了吗?

JAVA出现这种报错是怎么回事?

Description Resource Path Location Type Build path specifies execution environment JavaSE-13. There are no JREs installed in the workspace that are strictly compatible with this environment. Num3 Build path JRE System Library Problem 有没有大佬可以解答一下,我知道是这个问题“工作区中没有安装与此环境严格兼容的JRE。 构建路径JRE系统库问题”,但我不知道怎么解决?有没有详细的步骤啊?jdk14应该是自带JRE的啊?不应该啊

JAVA程序的执行入口怎么看?

我用ADT新建了一个工程,默认的有一个叫MainActivity.java的文档: ``` package com.example.m_note0305; import android.support.v7.app.ActionBarActivity; import android.support.v4.app.Fragment; import android.os.Bundle; import android.view.LayoutInflater; import android.view.Menu; import android.view.MenuItem; import android.view.View; import android.view.ViewGroup; public class MainActivity extends ActionBarActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); if (savedInstanceState == null) { getSupportFragmentManager().beginTransaction() .add(R.id.container, new PlaceholderFragment()).commit(); } } @Override public boolean onCreateOptionsMenu(Menu menu) { // Inflate the menu; this adds items to the action bar if it is present. getMenuInflater().inflate(R.menu.main, menu); return true; } @Override public boolean onOptionsItemSelected(MenuItem item) { // Handle action bar item clicks here. The action bar will // automatically handle clicks on the Home/Up button, so long // as you specify a parent activity in AndroidManifest.xml. int id = item.getItemId(); if (id == R.id.action_settings) { return true; } return super.onOptionsItemSelected(item); } /** * A placeholder fragment containing a simple view. */ public static class PlaceholderFragment extends Fragment { public PlaceholderFragment() { } @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View rootView = inflater.inflate(R.layout.fragment_main, container, false); return rootView; } } } ``` 然后我用网上COPY的代码又新建了一个文档SlNotepad.java: ``` package com.example.m_note0305;//把SlNotepad类纳入到m_note0305包内 import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.io.*; import javax.swing.event.*; import java.util.*; import java.awt.datatransfer.*; class text implements Serializable{ /**/ private static final long serialVersionUID = -5303411698842652024L;//序列化版本对象控制 String keyword;//密码 String textmain;//文本部分 } public class SlNotepad extends JFrame implements ActionListener,ListSelectionListener{//公共类名必须和文件名一致 /**/ private static final long serialVersionUID = -1229804758759177927L; //extends表示继承 MenuBar bar;//菜单栏 Menu file,edit,format,help; MenuItem open,dsave,save,newwork,quit,about,fontchoose,colorchoose,backchoose,timeadd,keyopen,keysave,zcancel,copy,paste,cut,delete,selectall,search,autoline; MenuShortcut opencut,dsavecut,savecut,newworkcut,quitcut,aboutcut,fontchoosecut,colorchoosecut,backchoosecut,timeaddcut,keyopencut,keysavecut,zcancelcut,copycut,pastecut,cutcut,deletecut,selectallcut,searchcut,autolinecut; Toolkit tool=this.getToolkit(); Clipboard clip;//剪贴版 Image image=tool.getImage("data/icon.jpg");//框架图标 JTextArea textarea;//文本区域 //此处省略一万字 public static void main(String[] args){ SlNotepad SlNotepad=new SlNotepad("亮亮记事本1.0正式版"); SlNotepad.setVisible(true);//show(); } } ``` 程序跑起来的效果是,就仿佛后面的文档不存在一样。 MainActivity.java里面没有main函数啊,它是怎样开始执行的? 我不知道怎样把自定义的那个记事本类型用起来,求大神指点~~

OpenJdk platform binary idea64启动报错

parallel desktop 虚拟机中装了win7,win7中安装idea64,就简单写了个helloworld输出,运行就报以下错误,win7中的显卡也升级不了 Error:Abnormal build process termination: "C:\Me\JetBrains\IntelliJ IDEA 2018.3.3\jre64\bin\java.exe" -Xmx700m -Djava.awt.headless=true -Djava.endorsed.dirs=\"\" -Djdt.compiler.useSingleThread=true -Dcompile.parallel=false -Drebuild.on.dependency.change=true -Djava.net.preferIPv4Stack=true -Dio.netty.initialSeedUniquifier=5762697851691075053 -Dfile.encoding=GBK -Duser.language=zh -Duser.country=CN -Didea.paths.selector=IntelliJIdea2018.3 "-Didea.home.path=C:\Me\JetBrains\IntelliJ IDEA 2018.3.3" -Didea.config.path=C:\Users\Brazen\.IntelliJIdea2018.3\config -Didea.plugins.path=C:\Users\Brazen\.IntelliJIdea2018.3\config\plugins -Djps.log.dir=C:/Users/Brazen/.IntelliJIdea2018.3/system/log/build-log "-Djps.fallback.jdk.home=C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/jre64" -Djps.fallback.jdk.version=1.8.0_152-release -Dio.netty.noUnsafe=true -Djava.io.tmpdir=C:/Users/Brazen/.IntelliJIdea2018.3/system/compile-server/test_f6da7a95/_temp_ -Djps.backward.ref.index.builder=true -Dkotlin.incremental.compilation=true -Dkotlin.daemon.enabled -Dkotlin.daemon.client.alive.path=\"C:\Users\Brazen\AppData\Local\Temp\kotlin-idea-3894503579951865671-is-running\" -classpath "C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/jps-launcher.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/jre64/lib/tools.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/optimizedFileManager.jar" org.jetbrains.jps.cmdline.Launcher "C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/netty-common-4.1.30.Final.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/annotations.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/jps-builders.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/aether-spi-1.1.0.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/maven-builder-support-3.3.9.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/maven-aether-provider-3.3.9.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/oro-2.0.8.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/slf4j-api-1.7.25.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/httpcore-4.4.10.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/nanoxml-2.2.3.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/plexus-interpolation-1.21.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/aether-impl-1.1.0.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/commons-lang3-3.4.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/commons-codec-1.10.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/forms_rt.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/trove4j.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/maven-model-builder-3.3.9.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/jps-model.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/idea_rt.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/util.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/plexus-component-annotations-1.6.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/protobuf-java-3.4.0.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/netty-buffer-4.1.30.Final.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/asm-all-7.0.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/log4j.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/aether-dependency-resolver.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/guava-25.1-jre.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/aether-connector-basic-1.1.0.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/netty-resolver-4.1.30.Final.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/aether-transport-http-1.1.0.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/commons-logging-1.2.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/resources_en.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/aether-api-1.1.0.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/maven-repository-metadata-3.3.9.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/jna-platform.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/aether-util-1.1.0.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/netty-transport-4.1.30.Final.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/aether-transport-file-1.1.0.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/jna.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/netty-codec-4.1.30.Final.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/httpclient-4.5.6.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/lz4-1.3.0.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/platform-api.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/maven-artifact-3.3.9.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/jdom.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/maven-model-3.3.9.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/forms-1.1-preview.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/jps-builders-6.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/javac2.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/plexus-utils-3.0.22.jar;;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/gson-2.8.5.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/android/lib/jarutils.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/guava-25.1-jre.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/android/lib/common-26.1.2.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/android/lib/manifest-merger-26.1.2.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/android/lib/sdk-common-26.1.2.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/android/lib/builder-model-3.1.2.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/android/lib/builder-test-api-3.1.2.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/android/lib/ddmlib-26.1.2.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/android/lib/repository-26.1.2.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/gradle/lib/gradle-api-4.10.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/gson-2.8.5.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/android/lib/jarutils.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/lib/guava-25.1-jre.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/android/lib/common-26.1.2.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/android/lib/manifest-merger-26.1.2.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/android/lib/sdk-common-26.1.2.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/android/lib/builder-model-3.1.2.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/android/lib/builder-test-api-3.1.2.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/android/lib/ddmlib-26.1.2.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/android/lib/repository-26.1.2.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/gradle/lib/gradle-api-4.10.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/ant/lib/ant-jps-plugin.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/uiDesigner/lib/jps/ui-designer-jps-plugin.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/IntelliLang/lib/intellilang-jps-plugin.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/Groovy/lib/groovy-jps-plugin.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/Groovy/lib/groovy-rt-constants.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/eclipse/lib/eclipse-jps-plugin.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/eclipse/lib/common-eclipse-util.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/maven/lib/maven-jps-plugin.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/osmorc/lib/osmorc-jps-plugin.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/osmorc/lib/biz.aQute.bndlib-4.0.0.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/osmorc/lib/biz.aQute.repository-4.0.0.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/osmorc/lib/biz.aQute.resolve-4.0.0.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/osmorc/lib/bundlor-all.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/aspectj/lib/aspectj-jps-plugin.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/gradle/lib/gradle-jps-plugin.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/devkit/lib/devkit-jps-plugin.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/JavaEE/lib/javaee-jps-plugin.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/JavaEE/lib/jps/jpa-jps-plugin.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/webSphereIntegration/lib/jps/webSphere-jps-plugin.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/weblogicIntegration/lib/jps/weblogic-jps-plugin.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/android/lib/jps/android-jps-plugin.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/android/lib/android-common.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/android/lib/build-common.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/android/lib/android-rt.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/android/lib/sdklib.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/android/lib/common-26.1.2.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/android/lib/jarutils.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/android/lib/layoutlib-api.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/javaFX/lib/javaFX-jps-plugin.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/javaFX/lib/common-javaFX-plugin.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/Kotlin/lib/jps/kotlin-jps-plugin.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/Kotlin/lib/kotlin-stdlib.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/Kotlin/lib/kotlin-reflect.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/Kotlin/lib/kotlin-plugin.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/Kotlin/lib/android-extensions-ide.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/Kotlin/lib/android-extensions-compiler.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/flex/lib/flex-jps-plugin.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/flex/lib/flex-shared.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/dmServer/lib/dmServer-jps-plugin.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/GwtStudio/lib/gwt-jps-plugin.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/GoogleAppEngine/lib/google-app-engine-jps-plugin.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/GoogleAppEngine/lib/appEngine-runtime.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/Grails/lib/grails-jps-plugin.jar;C:/Me/JetBrains/IntelliJ IDEA 2018.3.3/plugins/Grails/lib/grails-compiler-patch.jar" org.jetbrains.jps.cmdline.BuildMain 127.0.0.1 49669 1e1dfc85-eb4c-4dc1-b38c-ed6896c49276 C:/Users/Brazen/.IntelliJIdea2018.3/system/compile-server

启动sonar后自动stopping

2017.12.15 10:14:15 INFO app[][o.s.a.AppFileSystem] Cleaning or creating temp directory /home/sonar/sonarqube-6.2/temp 2017.12.15 10:14:15 INFO app[][o.s.p.m.JavaProcessLauncher] Launch process[es]: /data/android/jdk/jdk1.8.0_151/jre/bin/java -Djava.awt.headless=true -Xmx1G -Xms256m -Xss256k -Djna.nosys=true -XX:+UseParNewGC -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=75 -XX:+UseCMSInitiatingOccupancyOnly -XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=/home/sonar/sonarqube-6.2/temp -javaagent:/data/android/jdk/jdk1.8.0_151/jre/lib/management-agent.jar -cp ./lib/common/*:./lib/search/* org.sonar.search.SearchServer /home/sonar/sonarqube-6.2/temp/sq-process5065419232036463929properties 2017.12.15 10:14:23 INFO app[][o.s.p.m.Monitor] Process[es] is up 2017.12.15 10:14:23 INFO app[][o.s.p.m.JavaProcessLauncher] Launch process[web]: /data/android/jdk/jdk1.8.0_151/jre/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djruby.management.enabled=false -Djruby.compile.invokedynamic=false -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Djava.io.tmpdir=/home/sonar/sonarqube-6.2/temp -javaagent:/data/android/jdk/jdk1.8.0_151/jre/lib/management-agent.jar -cp ./lib/common/*:./lib/server/*:/home/sonar/sonarqube-6.2/lib/jdbc/mysql/mysql-connector-java-5.1.39.jar org.sonar.server.app.WebServer /home/sonar/sonarqube-6.2/temp/sq-process9006207429545419068properties 2017.12.15 10:14:24 INFO app[][o.s.p.m.Monitor] Process[es] is stopping 2017.12.15 10:14:24 ERROR app[][o.s.p.m.Monitor] Process[web] failed to start 2017.12.15 10:14:24 INFO app[][o.s.p.m.Monitor] Process[es] is stopped <-- Wrapper Stopped

关于调用继承runnable接口后类的方法

这是部分代码 import java.awt.event.*; import javax.swing.*; class Ticke implements Runnable { private int i; public void getnum(int i) { this.i=i; } public int outputnum() { return i; } public void run() { i--; } } public class ComputerListener implements ActionListener { JTextArea textshow; String luxian; public void setJTextArea(JTextArea area) { textshow=area; } public void setLuxian(String s) { luxian=s; } public void actionPerformed(ActionEvent e) { try { int i=40; textshow.setText(""); if(luxian.equals("和平->广州")) { Ticke t=new Ticke(); t.getnum(i); 到这里,t.getnum(i);运行时会出现 exception in thread Awt-EventQueue-0 java.long.NotSuchMethodError:Ticke.getnum的错误。怎么回事啊??

IDEA启动报错 Abnormal build process termination

``` Error:Abnormal build process termination: D:\ideaIU-2017.3.3.win\jre64\bin\java -Xmx700m -Djava.awt.headless=true -Djava.endorsed.dirs=\"\" -Djdt.compiler.useSingleThread=true -Dpreload.project.path=D:/ydworkspase/kywdop -Dpreload.config.path=C:/Users/Administrator/.IntelliJIdea2017.3/config/options -Dcompile.parallel=false -Drebuild.on.dependency.change=true -Djava.net.preferIPv4Stack=true -Dio.netty.initialSeedUniquifier=2572012221901114533 -Dfile.encoding=GBK -Duser.language=zh -Duser.country=CN -Didea.paths.selector=IntelliJIdea2017.3 -Didea.home.path=D:\ideaIU-2017.3.3.win -Didea.config.path=C:\Users\Administrator\.IntelliJIdea2017.3\config -Didea.plugins.path=C:\Users\Administrator\.IntelliJIdea2017.3\config\plugins -Djps.log.dir=C:/Users/Administrator/.IntelliJIdea2017.3/system/log/build-log -Djps.fallback.jdk.home=D:/ideaIU-2017.3.3.win/jre64 -Djps.fallback.jdk.version=1.8.0_152-release -Dio.netty.noUnsafe=true -Djava.io.tmpdir=C:/Users/Administrator/.IntelliJIdea2017.3/system/compile-server/kywdop_7993818d/_temp_ -Djps.backward.ref.index.builder=true -Dkotlin.incremental.compilation=true -Dkotlin.daemon.enabled -Dkotlin.daemon.client.alive.path=\"C:\Users\ADMINI~1\AppData\Local\Temp\kotlin-idea-6663494920534556338-is-running\" -classpath D:/ideaIU-2017.3.3.win/lib/jps-launcher.jar;D:/ideaIU-2017.3.3.win/jre64/lib/tools.jar;D:/ideaIU-2017.3.3.win/lib/optimizedFileManager.jar org.jetbrains.jps.cmdline.Launcher D:/ideaIU-2017.3.3.win/lib/jna.jar;D:/ideaIU-2017.3.3.win/lib/annotations.jar;D:/ideaIU-2017.3.3.win/lib/guava-21.0.jar;D:/ideaIU-2017.3.3.win/lib/aether-1.1.0-all.jar;D:/ideaIU-2017.3.3.win/lib/jps-model.jar;D:/ideaIU-2017.3.3.win/lib/openapi.jar;D:/ideaIU-2017.3.3.win/lib/commons-logging-1.2.jar;D:/ideaIU-2017.3.3.win/lib/aether-dependency-resolver.jar;D:/ideaIU-2017.3.3.win/lib/nanoxml-2.2.3.jar;D:/ideaIU-2017.3.3.win/lib/resources_en.jar;D:/ideaIU-2017.3.3.win/lib/trove4j.jar;D:/ideaIU-2017.3.3.win/lib/snappy-in-java-0.5.1.jar;D:/ideaIU-2017.3.3.win/lib/jps-builders-6.jar;D:/ideaIU-2017.3.3.win/lib/log4j.jar;D:/ideaIU-2017.3.3.win/lib/protobuf-java-2.5.0.jar;D:/ideaIU-2017.3.3.win/lib/asm-all.jar;D:/ideaIU-2017.3.3.win/lib/forms_rt.jar;D:/ideaIU-2017.3.3.win/lib/httpcore-4.4.5.jar;D:/ideaIU-2017.3.3.win/lib/jna-platform.jar;D:/ideaIU-2017.3.3.win/lib/slf4j-api-1.7.10.jar;D:/ideaIU-2017.3.3.win/lib/jdom.jar;D:/ideaIU-2017.3.3.win/lib/httpclient-4.5.2.jar;D:/ideaIU-2017.3.3.win/lib/jps-builders.jar;D:/ideaIU-2017.3.3.win/lib/oromatcher.jar;D:/ideaIU-2017.3.3.win/lib/commons-codec-1.9.jar;D:/ideaIU-2017.3.3.win/lib/util.jar;D:/ideaIU-2017.3.3.win/lib/jgoodies-forms.jar;D:/ideaIU-2017.3.3.win/lib/netty-all-4.1.13.Final.jar;D:/ideaIU-2017.3.3.win/lib/maven-aether-provider-3.3.9-all.jar;D:/ideaIU-2017.3.3.win/lib/idea_rt.jar;D:/ideaIU-2017.3.3.win/lib/javac2.jar;;D:/ideaIU-2017.3.3.win/lib/gson-2.8.2.jar;D:/ideaIU-2017.3.3.win/plugins/android/lib/jarutils.jar;D:/ideaIU-2017.3.3.win/lib/guava-21.0.jar;D:/ideaIU-2017.3.3.win/plugins/android/lib/android-common.jar;D:/ideaIU-2017.3.3.win/plugins/gradle/lib/gradle-tooling-api-4.0.jar;D:/ideaIU-2017.3.3.win/lib/gson-2.8.2.jar;D:/ideaIU-2017.3.3.win/plugins/android/lib/jarutils.jar;D:/ideaIU-2017.3.3.win/lib/guava-21.0.jar;D:/ideaIU-2017.3.3.win/plugins/android/lib/android-common.jar;D:/ideaIU-2017.3.3.win/plugins/gradle/lib/gradle-tooling-api-4.0.jar;D:/ideaIU-2017.3.3.win/plugins/ant/lib/ant-jps-plugin.jar;D:/ideaIU-2017.3.3.win/plugins/uiDesigner/lib/jps/ui-designer-jps-plugin.jar;D:/ideaIU-2017.3.3.win/plugins/IntelliLang/lib/intellilang-jps-plugin.jar;D:/ideaIU-2017.3.3.win/plugins/Groovy/lib/groovy-jps-plugin.jar;D:/ideaIU-2017.3.3.win/plugins/Groovy/lib/groovy-rt-constants.jar;D:/ideaIU-2017.3.3.win/plugins/eclipse/lib/eclipse-jps-plugin.jar;D:/ideaIU-2017.3.3.win/plugins/eclipse/lib/common-eclipse-util.jar;D:/ideaIU-2017.3.3.win/plugins/maven/lib/maven-jps-plugin.jar;D:/ideaIU-2017.3.3.win/plugins/maven/lib/plexus-utils-2.0.6.jar;D:/ideaIU-2017.3.3.win/plugins/osmorc/lib/osmorc-jps-plugin.jar;D:/ideaIU-2017.3.3.win/plugins/osmorc/lib/bndlib-3.3.0.jar;D:/ideaIU-2017.3.3.win/plugins/osmorc/lib/bnd-repository-3.3.0.jar;D:/ideaIU-2017.3.3.win/plugins/osmorc/lib/bnd-resolve-3.3.0.jar;D:/ideaIU-2017.3.3.win/plugins/osmorc/lib/plexus-utils-3.0.10.jar;D:/ideaIU-2017.3.3.win/plugins/osmorc/lib/bundlor-all.jar;D:/ideaIU-2017.3.3.win/plugins/aspectj/lib/aspectj-jps-plugin.jar;D:/ideaIU-2017.3.3.win/plugins/flex/lib/flex-jps-plugin.jar;D:/ideaIU-2017.3.3.win/plugins/flex/lib/flex-shared.jar;D:/ideaIU-2017.3.3.win/plugins/gradle/lib/gradle-jps-plugin.jar;D:/ideaIU-2017.3.3.win/plugins/devkit/lib/devkit-jps-plugin.jar;D:/ideaIU-2017.3.3.win/plugins/JavaEE/lib/javaee-jps-plugin.jar;D:/ideaIU-2017.3.3.win/plugins/JavaEE/lib/jps/jpa-jps-plugin.jar;D:/ideaIU-2017.3.3.win/plugins/webSphereIntegration/lib/jps/webSphere-jps-plugin.jar;D:/ideaIU-2017.3.3.win/plugins/weblogicIntegration/lib/jps/weblogic-jps-plugin.jar;D:/ideaIU-2017.3.3.win/plugins/dmServer/lib/dmServer-jps-plugin.jar;D:/ideaIU-2017.3.3.win/plugins/GwtStudio/lib/gwt-jps-plugin.jar;D:/ideaIU-2017.3.3.win/plugins/GoogleAppEngine/lib/google-app-engine-jps-plugin.jar;D:/ideaIU-2017.3.3.win/plugins/GoogleAppEngine/lib/appEngine-runtime.jar;D:/ideaIU-2017.3.3.win/plugins/Grails/lib/grails-jps-plugin.jar;D:/ideaIU-2017.3.3.win/plugins/Grails/lib/grails-compiler-patch.jar;D:/ideaIU-2017.3.3.win/plugins/android/lib/jps/android-jps-plugin.jar;D:/ideaIU-2017.3.3.win/plugins/android/lib/android-common.jar;D:/ideaIU-2017.3.3.win/plugins/android/lib/android-rt.jar;D:/ideaIU-2017.3.3.win/plugins/android/lib/sdk-common.jar;D:/ideaIU-2017.3.3.win/plugins/android/lib/repository.jar;D:/ideaIU-2017.3.3.win/plugins/android/lib/sdklib.jar;D:/ideaIU-2017.3.3.win/plugins/android/lib/jarutils.jar;D:/ideaIU-2017.3.3.win/plugins/android/lib/layoutlib-api.jar;D:/ideaIU-2017.3.3.win/plugins/android/lib/manifest-merger.jar;D:/ideaIU-2017.3.3.win/plugins/Kotlin/lib/jps/kotlin-jps-plugin.jar;D:/ideaIU-2017.3.3.win/plugins/Kotlin/lib/kotlin-stdlib.jar;D:/ideaIU-2017.3.3.win/plugins/Kotlin/lib/kotlin-reflect.jar;D:/ideaIU-2017.3.3.win/plugins/Kotlin/lib/kotlin-plugin.jar;D:/ideaIU-2017.3.3.win/plugins/Kotlin/lib/android-extensions-ide.jar;D:/ideaIU-2017.3.3.win/plugins/Kotlin/lib/android-extensions-compiler.jar;D:/ideaIU-2017.3.3.win/plugins/javaFX/lib/javaFX-jps-plugin.jar;D:/ideaIU-2017.3.3.win/plugins/javaFX/lib/common-javaFX-plugin.jar org.jetbrains.jps.cmdline.BuildMain 127.0.0.1 64844 8759eab2-d18e-4afe-82d1-bedce519aed2 C:/Users/Administrator/.IntelliJIdea2017.3/system/compile-server Build process started. Classpath: D:/ideaIU-2017.3.3.win/lib/jps-launcher.jar;D:/ideaIU-2017.3.3.win/jre64/lib/tools.jar;D:/ideaIU-2017.3.3.win/lib/optimizedFileManager.jar SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".SLF4J: Defaulting to no-operation (NOP) logger implementationSLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.Error connecting to 127.0.0.1:64844; reason: Address already in use: no further information: /127.0.0.1:64844 io.netty.channel.AbstractChannel$AnnotatedSocketException: Address already in use: no further information: /127.0.0.1:64844 at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method) at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717) at io.netty.channel.socket.nio.NioSocketChannel.doFinishConnect(NioSocketChannel.java:352) at io.netty.channel.nio.AbstractNioChannel$AbstractNioUnsafe.finishConnect(AbstractNioChannel.java:340) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:632) at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:579) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:496) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:458) at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858) at java.lang.Thread.run(Thread.java:745) Caused by: java.net.BindException: Address already in use: no further information ... 10 more Exiting. ```

The method xxx of type new xxxx must override 的问题

The method isViewFromObject(View, Object) of type new PagerAdapter(){} must override or implement a supertype method 网上说的方法: 一、 因为你的Compiler 是jdk1.5,只要把它改为 1.6 方法: 1. window ->preferences... -> java -> Compiler 2. Compiler compliance level : 6.0 二、 把项目的JRE变成6.0的 项目右键->build path->configure build path->java Compiler(左边那排中) ->在右边的Compiler compliance level 修改版本为6.0 试过了没有作用。 import java.awt.Window; import java.util.ArrayList; import java.util.List; import javax.swing.text.View; import com.csst.videotalk.R; import android.app.Activity; import android.os.Bundle; import android.widget.ImageView; import android.widget.ImageView.ScaleType; import android.support.v4.view.PagerAdapter; import android.support.v4.view.ViewPager; import android.view.ViewGroup; public class ViewPaper_activity extends Activity { ViewPager mViewPager; private int[] mImgIds = new int[] { /*R.drawable.guide_image1, R.drawable.guide_image2, R.drawable.guide_image3 */}; private List<ImageView> mImageViews = new ArrayList<ImageView>(); @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); //requestWindowFeature(Window.FEATURE_NO_TITLE); setContentView(R.layout.view_paper); initData(); mViewPager = (ViewPager) findViewById(R.id.id_viewpager); mViewPager.setAdapter(new PagerAdapter() { @Override public Object instantiateItem(ViewGroup container, int position) { container.addView(mImageViews.get(position)); return mImageViews.get(position); } @Override public void destroyItem(ViewGroup container, int position, Object object) { container.removeView(mImageViews.get(position)); } @Override //就是这里一直报错 public boolean isViewFromObject(View view, Object object) { return view == object; } @Override public int getCount() { return mImgIds.length; } }); } private void initData() { for (int imgId : mImgIds) { ImageView imageView = new ImageView(getApplicationContext()); imageView.setScaleType(ScaleType.CENTER_CROP); imageView.setImageResource(imgId); mImageViews.add(imageView); } } }

java 如何把String类型中的字符都替换成KeyEvent.KEYCODE_

想要把一个String字符串中的每个字符都替换成KeyEvent.KEYCODE_ 尝试了下面的方法 但是switch不能带string 切换成JDK1.7整个出错,Android requires compiler compliance level 5.0 or 6.0. Found '1.7' instead. Please use Android Tools > Fix Project Properties. ``` switch (sStr) { case "a": return KeyEvent.KEYCODE_A; case "b": return KeyEvent.KEYCODE_B; case "c": return KeyEvent.KEYCODE_C; case "d": return KeyEvent.KEYCODE_D; case "e": return KeyEvent.KEYCODE_E; case "f": return KeyEvent.KEYCODE_F; case "g": return KeyEvent.KEYCODE_G; case "h": return KeyEvent.KEYCODE_H; case "i": return KeyEvent.KEYCODE_I; case "j": return KeyEvent.KEYCODE_J; case "k": return KeyEvent.KEYCODE_K; case "l": return KeyEvent.KEYCODE_L; case "m": return KeyEvent.KEYCODE_M; case "n": return KeyEvent.KEYCODE_N; ``` 想用java的replaceall 结果只能 (string,string) KeyEvent.KEYCODE_属于int 求大神指教啊 急 在线等

初级玩转Linux+Ubuntu(嵌入式开发基础课程)

课程主要面向嵌入式Linux初学者、工程师、学生 主要从一下几方面进行讲解: 1.linux学习路线、基本命令、高级命令 2.shell、vi及vim入门讲解 3.软件安装下载、NFS、Samba、FTP等服务器配置及使用

我以为我对Mysql事务很熟,直到我遇到了阿里面试官

太惨了,面试又被吊打

Python代码实现飞机大战

文章目录经典飞机大战一.游戏设定二.我方飞机三.敌方飞机四.发射子弹五.发放补给包六.主模块 经典飞机大战 源代码以及素材资料(图片,音频)可从下面的github中下载: 飞机大战源代码以及素材资料github项目地址链接 ————————————————————————————————————————————————————————— 不知道大家有没有打过飞机,喜不喜欢打飞机。当我第一次接触这个东西的时候,我的内心是被震撼到的。第一次接触打飞机的时候作者本人是身心愉悦的,因为周边的朋友都在打飞机, 每

Python数据分析与挖掘

92讲视频课+16大项目实战+源码+¥800元课程礼包+讲师社群1V1答疑+社群闭门分享会=99元 &nbsp; 为什么学习数据分析? &nbsp; &nbsp; &nbsp; 人工智能、大数据时代有什么技能是可以运用在各种行业的?数据分析就是。 &nbsp; &nbsp; &nbsp; 从海量数据中获得别人看不见的信息,创业者可以通过数据分析来优化产品,营销人员可以通过数据分析改进营销策略,产品经理可以通过数据分析洞察用户习惯,金融从业者可以通过数据分析规避投资风险,程序员可以通过数据分析进一步挖掘出数据价值,它和编程一样,本质上也是一个工具,通过数据来对现实事物进行分析和识别的能力。不管你从事什么行业,掌握了数据分析能力,往往在其岗位上更有竞争力。 &nbsp;&nbsp; 本课程共包含五大模块: 一、先导篇: 通过分析数据分析师的一天,让学员了解全面了解成为一个数据分析师的所有必修功法,对数据分析师不在迷惑。 &nbsp; 二、基础篇: 围绕Python基础语法介绍、数据预处理、数据可视化以及数据分析与挖掘......这些核心技能模块展开,帮助你快速而全面的掌握和了解成为一个数据分析师的所有必修功法。 &nbsp; 三、数据采集篇: 通过网络爬虫实战解决数据分析的必经之路:数据从何来的问题,讲解常见的爬虫套路并利用三大实战帮助学员扎实数据采集能力,避免没有数据可分析的尴尬。 &nbsp; 四、分析工具篇: 讲解数据分析避不开的科学计算库Numpy、数据分析工具Pandas及常见可视化工具Matplotlib。 &nbsp; 五、算法篇: 算法是数据分析的精华,课程精选10大算法,包括分类、聚类、预测3大类型,每个算法都从原理和案例两个角度学习,让你不仅能用起来,了解原理,还能知道为什么这么做。

如何在虚拟机VM上使用串口

在系统内核开发中,经常会用到串口调试,利用VMware的Virtual Machine更是为调试系统内核如虎添翼。那么怎么搭建串口调试环境呢?因为最近工作涉及到这方面,利用强大的google搜索和自己

程序员的兼职技能课

获取讲师答疑方式: 在付费视频第一节(触摸命令_ALL)片头有二维码及加群流程介绍 限时福利 原价99元,今日仅需39元!购课添加小助手(微信号:csdn590)按提示还可领取价值800元的编程大礼包! 讲师介绍: 苏奕嘉&nbsp;前阿里UC项目工程师 脚本开发平台官方认证满级(六级)开发者。 我将如何教会你通过【定制脚本】赚到你人生的第一桶金? 零基础程序定制脚本开发课程,是完全针对零脚本开发经验的小白而设计,课程内容共分为3大阶段: ①前期将带你掌握Q开发语言和界面交互开发能力; ②中期通过实战来制作有具体需求的定制脚本; ③后期将解锁脚本的更高阶玩法,打通任督二脉; ④应用定制脚本合法赚取额外收入的完整经验分享,带你通过程序定制脚本开发这项副业,赚取到你的第一桶金!

MFC一站式终极全套课程包

该套餐共包含从C小白到C++到MFC的全部课程,整套学下来绝对成为一名C++大牛!!!

C++语言基础视频教程

C++语言基础视频培训课程:本课与主讲者在大学开出的程序设计课程直接对接,准确把握知识点,注重教学视频与实践体系的结合,帮助初学者有效学习。本教程详细介绍C++语言中的封装、数据隐藏、继承、多态的实现等入门知识;主要包括类的声明、对象定义、构造函数和析构函数、运算符重载、继承和派生、多态性实现等。 课程需要有C语言程序设计的基础(可以利用本人开出的《C语言与程序设计》系列课学习)。学习者能够通过实践的方式,学会利用C++语言解决问题,具备进一步学习利用C++开发应用程序的基础。

北京师范大学信息科学与技术学院笔试10复试真题

北京师范大学信息科学与技术学院笔试,可以更好的让你了解北师大该学院的复试内容,获得更好的成绩。

深度学习原理+项目实战+算法详解+主流框架(套餐)

深度学习系列课程从深度学习基础知识点开始讲解一步步进入神经网络的世界再到卷积和递归神经网络,详解各大经典网络架构。实战部分选择当下最火爆深度学习框架PyTorch与Tensorflow/Keras,全程实战演示框架核心使用与建模方法。项目实战部分选择计算机视觉与自然语言处理领域经典项目,从零开始详解算法原理,debug模式逐行代码解读。适合准备就业和转行的同学们加入学习! 建议按照下列课程顺序来进行学习 (1)掌握深度学习必备经典网络架构 (2)深度框架实战方法 (3)计算机视觉与自然语言处理项目实战。(按照课程排列顺序即可)

网络工程师小白入门--【思科CCNA、华为HCNA等网络工程师认证】

本课程适合CCNA或HCNA网络小白同志,高手请绕道,可以直接学习进价课程。通过本预科课程的学习,为学习网络工程师、思科CCNA、华为HCNA这些认证打下坚实的基础! 重要!思科认证2020年2月24日起,已启用新版认证和考试,包括题库都会更新,由于疫情原因,请关注官网和本地考点信息。题库网络上很容易下载到。

Python界面版学生管理系统

前不久上传了一个控制台版本的学生管理系统,这个是Python界面版学生管理系统,这个是使用pycharm开发的一个有界面的学生管理系统,基本的增删改查,里面又演示视频和完整代码,有需要的伙伴可以自行下

软件测试2小时入门

本课程内容系统、全面、简洁、通俗易懂,通过2个多小时的介绍,让大家对软件测试有个系统的理解和认识,具备基本的软件测试理论基础。 主要内容分为5个部分: 1 软件测试概述,了解测试是什么、测试的对象、原则、流程、方法、模型;&nbsp; 2.常用的黑盒测试用例设计方法及示例演示;&nbsp; 3 常用白盒测试用例设计方法及示例演示;&nbsp; 4.自动化测试优缺点、使用范围及示例‘;&nbsp; 5.测试经验谈。

Tomcat服务器下载、安装、配置环境变量教程(超详细)

未经我的允许,请不要转载我的文章,在此郑重声明!!! 请先配置安装好Java的环境,若没有安装,请参照我博客上的步骤进行安装! 安装Java环境教程https://blog.csdn.net/qq_40881680/article/details/83585542 Tomcat部署Web项目(一)·内嵌https://blog.csdn.net/qq_40881680/article/d...

2019数学建模A题高压油管的压力控制 省一论文即代码

2019数学建模A题高压油管的压力控制省一完整论文即详细C++和Matlab代码,希望对同学们有所帮助

图书管理系统(Java + Mysql)我的第一个完全自己做的实训项目

图书管理系统 Java + MySQL 完整实训代码,MVC三层架构组织,包含所有用到的图片资源以及数据库文件,大三上学期实训,注释很详细,按照阿里巴巴Java编程规范编写

linux下利用/proc进行进程树的打印

在linux下利用c语言实现的进程树的打印,主要通过/proc下的目录中的进程文件,获取status中的进程信息内容,然后利用递归实现进程树的打印

微信小程序开发实战之番茄时钟开发

微信小程序番茄时钟视频教程,本课程将带着各位学员开发一个小程序初级实战类项目,针对只看过官方文档而又无从下手的开发者来说,可以作为一个较好的练手项目,对于有小程序开发经验的开发者而言,可以更好加深对小程序各类组件和API 的理解,为更深层次高难度的项目做铺垫。

[已解决]踩过的坑之mysql连接报“Communications link failure”错误

目录 前言 第一种方法: 第二种方法 第三种方法(适用于项目和数据库在同一台服务器) 第四种方法 第五种方法(项目和数据库不在同一台服务器) 总结 前言 先给大家简述一下我的坑吧,(我用的是mysql,至于oracle有没有这样的问题,有心的小伙伴们可以测试一下哈), 在自己做个javaweb测试项目的时候,因为买的是云服务器,所以数据库连接的是用ip地址,用IDE开发好...

人工智能-计算机视觉实战之路(必备算法+深度学习+项目实战)

系列课程主要分为3大阶段:(1)首先掌握计算机视觉必备算法原理,结合Opencv进行学习与练手,通过实际视项目进行案例应用展示。(2)进军当下最火的深度学习进行视觉任务实战,掌握深度学习中必备算法原理与网络模型架构。(3)结合经典深度学习框架与实战项目进行实战,基于真实数据集展开业务分析与建模实战。整体风格通俗易懂,项目驱动学习与就业面试。 建议同学们按照下列顺序来进行学习:1.Python入门视频课程 2.Opencv计算机视觉实战(Python版) 3.深度学习框架-PyTorch实战/人工智能框架实战精讲:Keras项目 4.Python-深度学习-物体检测实战 5.后续实战课程按照自己喜好选择就可以

2019 AI开发者大会

2019 AI开发者大会(AI ProCon 2019)是由中国IT社区CSDN主办的AI技术与产业年度盛会。多年经验淬炼,如今蓄势待发:2019年9月6-7日,大会将有近百位中美顶尖AI专家、知名企业代表以及千余名AI开发者齐聚北京,进行技术解读和产业论证。我们不空谈口号,只谈技术,诚挚邀请AI业内人士一起共铸人工智能新篇章!

机器学习初学者必会的案例精讲

通过六个实际的编码项目,带领同学入门人工智能。这些项目涉及机器学习(回归,分类,聚类),深度学习(神经网络),底层数学算法,Weka数据挖掘,利用Git开源项目实战等。

Python数据分析师-实战系列

系列课程主要包括Python数据分析必备工具包,数据分析案例实战,核心算法实战与企业级数据分析与建模解决方案实战,建议大家按照系列课程阶段顺序进行学习。所有数据集均为企业收集的真实数据集,整体风格以实战为导向,通俗讲解Python数据分析核心技巧与实战解决方案。

YOLOv3目标检测实战系列课程

《YOLOv3目标检测实战系列课程》旨在帮助大家掌握YOLOv3目标检测的训练、原理、源码与网络模型改进方法。 本课程的YOLOv3使用原作darknet(c语言编写),在Ubuntu系统上做项目演示。 本系列课程包括三门课: (1)《YOLOv3目标检测实战:训练自己的数据集》 包括:安装darknet、给自己的数据集打标签、整理自己的数据集、修改配置文件、训练自己的数据集、测试训练出的网络模型、性能统计(mAP计算和画出PR曲线)和先验框聚类。 (2)《YOLOv3目标检测:原理与源码解析》讲解YOLOv1、YOLOv2、YOLOv3的原理、程序流程并解析各层的源码。 (3)《YOLOv3目标检测:网络模型改进方法》讲解YOLOv3的改进方法,包括改进1:不显示指定类别目标的方法 (增加功能) ;改进2:合并BN层到卷积层 (加快推理速度) ; 改进3:使用GIoU指标和损失函数 (提高检测精度) ;改进4:tiny YOLOv3 (简化网络模型)并介绍 AlexeyAB/darknet项目。

2021考研数学张宇基础30讲.pdf

张宇:博士,全国著名考研数学辅导专家,教育部“国家精品课程建设骨干教师”,全国畅销书《张宇高等数学18讲》《张宇线性代数9讲》《张宇概率论与数理统计9讲》《张宇考研数学题源探析经典1000题》《张宇考

三个项目玩转深度学习(附1G源码)

从事大数据与人工智能开发与实践约十年,钱老师亲自见证了大数据行业的发展与人工智能的从冷到热。事实证明,计算机技术的发展,算力突破,海量数据,机器人技术等,开启了第四次工业革命的序章。深度学习图像分类一直是人工智能的经典任务,是智慧零售、安防、无人驾驶等机器视觉应用领域的核心技术之一,掌握图像分类技术是机器视觉学习的重中之重。针对现有线上学习的特点与实际需求,我们开发了人工智能案例实战系列课程。打造:以项目案例实践为驱动的课程学习方式,覆盖了智能零售,智慧交通等常见领域,通过基础学习、项目案例实践、社群答疑,三维立体的方式,打造最好的学习效果。

DirectX修复工具V4.0增强版

DirectX修复工具(DirectX Repair)是一款系统级工具软件,简便易用。本程序为绿色版,无需安装,可直接运行。 本程序的主要功能是检测当前系统的DirectX状态,如果发现异常则进行修复

期末考试评分标准的数学模型

大学期末考试与高中的考试存在很大的不同之处,大学的期末考试成绩是主要分为两个部分:平时成绩和期末考试成绩。平时成绩和期末考试成绩总分一般为一百分,然而平时成绩与期末考试成绩所占的比例不同会导致出现不同

Vue.js 2.0之全家桶系列视频课程

基于新的Vue.js 2.3版本, 目前新全的Vue.js教学视频,让你少走弯路,直达技术前沿! 1. 包含Vue.js全家桶(vue.js、vue-router、axios、vuex、vue-cli、webpack、ElementUI等) 2. 采用笔记+代码案例的形式讲解,通俗易懂

c语言项目开发实例

十个c语言案例 (1)贪吃蛇 (2)五子棋游戏 (3)电话薄管理系统 (4)计算器 (5)万年历 (6)电子表 (7)客户端和服务器通信 (8)潜艇大战游戏 (9)鼠标器程序 (10)手机通讯录系统

董付国老师Python全栈学习优惠套餐

购买套餐的朋友可以关注微信公众号“Python小屋”,上传付款截图,然后领取董老师任意图书1本。

2019全国大学生数学建模竞赛C题原版优秀论文

2019全国大学生数学建模竞赛C题原版优秀论文,PDF原版论文,不是图片合成的,是可编辑的文字版。共三篇。 C044.pdf C137.pdf C308.pdf

Git 实用技巧

这几年越来越多的开发团队使用了Git,掌握Git的使用已经越来越重要,已经是一个开发者必备的一项技能;但很多人在刚开始学习Git的时候会遇到很多疑问,比如之前使用过SVN的开发者想不通Git提交代码为什么需要先commit然后再去push,而不是一条命令一次性搞定; 更多的开发者对Git已经入门,不过在遇到一些代码冲突、需要恢复Git代码时候就不知所措,这个时候哪些对 Git掌握得比较好的少数人,就像团队中的神一样,在队友遇到 Git 相关的问题的时候用各种流利的操作来帮助队友于水火。 我去年刚加入新团队,发现一些同事对Git的常规操作没太大问题,但对Git的理解还是比较生疏,比如说分支和分支之间的关联关系、合并代码时候的冲突解决、提交代码前未拉取新代码导致冲突问题的处理等,我在协助处理这些问题的时候也记录各种问题的解决办法,希望整理后通过教程帮助到更多对Git操作进阶的开发者。 本期教程学习方法分为“掌握基础——稳步进阶——熟悉协作”三个层次。从掌握基础的 Git的推送和拉取开始,以案例进行演示,分析每一个步骤的操作方式和原理,从理解Git 工具的操作到学会代码存储结构、演示不同场景下Git遇到问题的不同处理方案。循序渐进让同学们掌握Git工具在团队协作中的整体协作流程。 在教程中会通过大量案例进行分析,案例会模拟在工作中遇到的问题,从最基础的代码提交和拉取、代码冲突解决、代码仓库的数据维护、Git服务端搭建等。为了让同学们容易理解,对Git简单易懂,文章中详细记录了详细的操作步骤,提供大量演示截图和解析。在教程的最后部分,会从提升团队整体效率的角度对Git工具进行讲解,包括规范操作、Gitlab的搭建、钩子事件的应用等。 为了让同学们可以利用碎片化时间来灵活学习,在教程文章中大程度降低了上下文的依赖,让大家可以在工作之余进行学习与实战,并同时掌握里面涉及的Git不常见操作的相关知识,理解Git工具在工作遇到的问题解决思路和方法,相信一定会对大家的前端技能进阶大有帮助。

linux“开发工具三剑客”速成攻略

工欲善其事,必先利其器。Vim+Git+Makefile是Linux环境下嵌入式开发常用的工具。本专题主要面向初次接触Linux的新手,熟练掌握工作中常用的工具,在以后的学习和工作中提高效率。

MySQL数据库面试题(2020最新版)

文章目录数据库基础知识为什么要使用数据库什么是SQL?什么是MySQL?数据库三大范式是什么mysql有关权限的表都有哪几个MySQL的binlog有有几种录入格式?分别有什么区别?数据类型mysql有哪些数据类型引擎MySQL存储引擎MyISAM与InnoDB区别MyISAM索引与InnoDB索引的区别?InnoDB引擎的4大特性存储引擎选择索引什么是索引?索引有哪些优缺点?索引使用场景(重点)...

相关热词 c# dbml文件 修改 c#遍历tree c# 能够控制单片机 c#对象写入数据库 c# 添加activex c#2005 json c# 数据库在云端 c# 字符串移位加密 c#禁用滚轮 c#实体类list去重复
立即提问