`
baibashige
  • 浏览: 143375 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论
文章列表
右键项目属性,在Flex Compiler里面,Additional Compiler arguments这个文本框中添加: -locale en_US -allow-source-path-overlap=true -source-path=D:\MyEclipse\FlexViewer\src\com\esri\solutions\flexviewer\nls\en_US 记住哦,这个-source-path里面的路径是你项目工程中nls资源的路径。重新编译.
设置flex build path时出现以下错误: Main application must be in the list of application paths.       出现的原因就是没有默认的Application,在Flex Applacations项添加主mxml文件,并设为默认。点击OK.重新打开build path即可。
错误:Server SDK: Directory does not contain a Flex SDK 1.修改flex compiler(在项目上双击右键,选择property),将sdk version选择成第二个(use sprcial...) 2.clean整个的项目, 发现开始编译。
Window->Preferences->MyEclipse Enterprice Workbench->Servers->Tomcat->选择你的Tomcat(比如Tomcat 6.x)->点左边的+号->点击JDK->Tomcat JDK name->点击右边的Add->把你的JDK配置进去,默认的JDK是不行的
delete from grade where id not in(select id from grade group by userid,de gree,subject); 出现错误: ERROR 1093 (HY000): You can't specify target table 'grade' for update in FROM clause 解决办法: delete from grade where id not in(select id from (select * from grade) g group by userid,degree,subject);

暴力反射

    博客分类:
  • JAVA
public void test4() throws Exception{ Class clazz = Class.forName("cn.itcast.reflect.Person"); Constructor c = clazz.getDeclaredConstructor(List.class); //public c.setAccessible(true); //暴力反射 Person p = (Person) c.newInstance(new ArrayList()); System.out.println(p.na ...

JAVA引用传递

    博客分类:
  • JAVA
public class TestAppend { public static void change(StringBuffer x,StringBuffer y) { x.append(y); //x-->AB x = y; //x指向y-->B System.out.println(x);//x-->B System.out.println(y);//y-->B ...
1.先删除主键 alter table T_SF_SUPPLIER drop constraint PK_T_SF_SUPPLIER; 2.增加主键 alter table T_SF_SUPPLIER   add constraint PK_T_SF_SUPPLIER primary key (sp_id)   using index   tablespace SYSTEM   pctfree 10   initrans 2   maxtrans 255   storage   (     initial 64K     minextents 1     maxextents unlimit ...
public abstract class A {     int i=1;     public void printI() {       System.out.println("i="+i);     }   }     public class B  extneds A{     int i=2;     public static void main(String[] args) {       B b=new B();       b.printI();     ...
错误截图: 版本错误:我在工程里面用的是1.5,但eclipse里面的是1.6(点击window->preferences打开) 将其调整为1.5即可
在SQL Server 2005中批量修改表的架构,执行以下SQL,将执行结果拷贝出来,批量执行既可。 declare @name sysname declare csr1 cursor for select TABLE_NAME from INFORMATION_SCHEMA.TABLES open csr1 FETCH NEXT FROM csr1 INTO @name while (@@FETCH_STATUS=0) BEGIN SET @name='旧的架构名称.' + @name print 'Alter SCHEMA dbo TRANSFER ' + ...
1.MySQLAdministrator软件可以将oracle中的表导出为mysql的sql脚本,注意修改编码为utf8 CREATE DATABASE IF NOT EXISTS `ehr` CHARACTER SET utf8; 2.利用navicat的运行sql脚本功能插入数据 3.貌似只能导出表结构及数据,视图无法导出
关于sql server 导入导出的错误提示解决: 注册表的问题: 复制以下内容到文本文档,然后改后缀名为.reg,运行即可解决! Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{00020404-0000-0000-C000-000000000046}] @="IEnumVARIANT" [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{00020404-0000-0000-C000-000 ...
This parser does not support specification "null" version "null" java.lang.UnsupportedOperationException: This parser does not support specificat ion "null" version "null"         at javax.xml.parsers.SAXParserFactory.setXIncludeAware(SAXParserFactory. java:390 ...
<link rel="stylesheet" type="text/css"href="../resources/css/ext-all.css"/> <script type="text/javascript"src="../adapter/ext/ext-base.js"></script> <script type="text/javascript"src="../ext-all.js">< ...
Global site tag (gtag.js) - Google Analytics