APScheduler模块scheduler.add_job传进函数不执行 10C

写了一个小的爬虫,准备用APScheduler定时执行,add____job方法里传进去要执行的函数不执行,代码如下:

def sprider():
    ss = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())
    print(ss)
    setUp()
    infoLoad()
    writeExcel()
    print("The End! %s" % time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()))

if __name__ == "__main__":

    scheduler = BackgroundScheduler()
    # scheduler.add_job(run ,'cron', hour='3-4', minute='*', second='*/900')
    scheduler.add_job(func=sprider , trigger = 'interval', minutes = 2, start_date='2018-4-25 10:55:00', end_date='2018-4-25 11:01:00')

    scheduler.start()
    print(time.strftime("%Y/%m/%d %H:%M:%S", time.localtime())) 

运行之后如图所示

图片说明

2个回答

print(time.strftime("%Y/%m/%d %H:%M:%S", time.localtime())) 之后主程序退出,shceduler 也没有了
让主程序继续不退出,才能让shceduler 继续执行

函数传入格式是你的 文件名:函数名

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
调用APScheduler模块scheduler.add_job方法报错
写了一个小的爬虫,准备用APScheduler间隔调用,在scheduler.add_job方法中报错'func must be a callable or a textual reference to one',看了APScheduler的源代码也找不到解决办法,代码如下 def sprider(): scrapy = WebScrapy() scrapy.setUp() scrapy.infoLoad() scrapy.writeExcel() print("The End! %s" % time.strftime("%Y%m%d %H:%M:%S", time.localtime())) if __name__ == "__main__": scheduler = BackgroundScheduler() # scheduler.add_job(run ,'cron', hour='3-4', minute='*', second='*/900') scheduler.add_job(func=sprider(), trigger='interval', id='myrun', minutes=2) try: scheduler.start() print(time.strftime("%Y%m%d %H:%M:%S", time.localtime())) except (KeyboardInterrupt, SystemExit): scheduler.shutdown() print('Errors!') 如果给sprider()随便加一个字符串返回值,则会报错ref-to-obj(func),找不到模块ref这类的错 求大神指教啊
job试运行报错,麻烦大佬指点
创建过程: create or replace procedure ZYBRXX_ED( BEGIN UPDATE CIS_IN_PAT_ACC SET least_balance =0 -(select cjxe from zybred A ,cis_in_pat_reg B,CIS_IN_PAT_ACC C WHERE A.KSBH=B.DEPT_ID AND B.VISIT_ID=C.VISIT_ID and B.VISIT_ID=:new.VISIT_ID ) end ZYBRXX_ED; 创建job: begin sys.dbms_scheduler.create_job(job_name => 'ZYBRXX_ED_Z', job_type => 'STORED_PROCEDURE', job_action => 'ORACLE_OCM.MGMT_CONFIG.ZYBRXX_ED', start_date => to_date('14-01-2020 00:00:00', 'dd-mm-yyyy hh24:mi:ss'), repeat_interval => 'Freq=MINUTELY;Interval=5', end_date => to_date(null), job_class => 'DEFAULT_JOB_CLASS', enabled => false, auto_drop => false, comments => ''); end; 试运行报错:06576,不是有效的函数或者过程名
Linux+pytorch下运行报错RuntimeError: PyTorch was compiled without NumPy support
我在尝试实现Github上开源的代码[Relation-Shape-CNN](https://github.com/Yochengliu/Relation-Shape-CNN ""),运行报错RuntimeError: PyTorch was compiled without NumPy support train_cls.py:36: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details. config = yaml.load(f) ************************** [workers]: 4 [num_points]: 1024 [num_classes]: 40 [batch_size]: 32 [base_lr]: 0.001 [lr_clip]: 1e-05 [lr_decay]: 0.7 [decay_step]: 21 [epochs]: 200 [weight_decay]: 0 [bn_momentum]: 0.9 [bnm_clip]: 0.01 [bn_decay]: 0.5 [evaluate]: 1 [val_freq_epoch]: 0.5 [print_freq_iter]: 20 [input_channels]: 0 [relation_prior]: 1 [checkpoint]: [save_path]: cls [data_root]: /media/lab/16DE307A392D4AED/zs ************************** /media/lab/16DE307A392D4AED/zs/Relation-Shape-CNN/models/../utils/pointnet2_modules.py:113: UserWarning: nn.init.kaiming_normal is now deprecated in favor of nn.init.kaiming_normal_. init(xyz_raising.weight) /media/lab/16DE307A392D4AED/zs/Relation-Shape-CNN/models/../utils/pointnet2_modules.py:115: UserWarning: nn.init.constant is now deprecated in favor of nn.init.constant_. nn.init.constant(xyz_raising.bias, 0) /media/lab/16DE307A392D4AED/zs/Relation-Shape-CNN/models/../utils/pointnet2_modules.py:122: UserWarning: nn.init.kaiming_normal is now deprecated in favor of nn.init.kaiming_normal_. init(mapping_func1.weight) /media/lab/16DE307A392D4AED/zs/Relation-Shape-CNN/models/../utils/pointnet2_modules.py:123: UserWarning: nn.init.kaiming_normal is now deprecated in favor of nn.init.kaiming_normal_. init(mapping_func2.weight) /media/lab/16DE307A392D4AED/zs/Relation-Shape-CNN/models/../utils/pointnet2_modules.py:125: UserWarning: nn.init.constant is now deprecated in favor of nn.init.constant_. nn.init.constant(mapping_func1.bias, 0) /media/lab/16DE307A392D4AED/zs/Relation-Shape-CNN/models/../utils/pointnet2_modules.py:126: UserWarning: nn.init.constant is now deprecated in favor of nn.init.constant_. nn.init.constant(mapping_func2.bias, 0) /media/lab/16DE307A392D4AED/zs/Relation-Shape-CNN/models/../utils/pointnet2_modules.py:131: UserWarning: nn.init.kaiming_normal is now deprecated in favor of nn.init.kaiming_normal_. init(cr_mapping.weight) /media/lab/16DE307A392D4AED/zs/Relation-Shape-CNN/models/../utils/pointnet2_modules.py:132: UserWarning: nn.init.constant is now deprecated in favor of nn.init.constant_. nn.init.constant(cr_mapping.bias, 0) /media/lab/16DE307A392D4AED/zs/Relation-Shape-CNN/models/../utils/pytorch_utils/pytorch_utils.py:153: UserWarning: nn.init.kaiming_normal is now deprecated in favor of nn.init.kaiming_normal_. init(self.conv_avg.weight) /media/lab/16DE307A392D4AED/zs/Relation-Shape-CNN/models/../utils/pytorch_utils/pytorch_utils.py:155: UserWarning: nn.init.constant is now deprecated in favor of nn.init.constant_. nn.init.constant(self.conv_avg.bias, 0) /media/lab/16DE307A392D4AED/zs/Relation-Shape-CNN/models/../utils/pytorch_utils/pytorch_utils.py:201: UserWarning: nn.init.constant is now deprecated in favor of nn.init.constant_. nn.init.constant(self[0].weight, 1.0) /media/lab/16DE307A392D4AED/zs/Relation-Shape-CNN/models/../utils/pytorch_utils/pytorch_utils.py:202: UserWarning: nn.init.constant is now deprecated in favor of nn.init.constant_. nn.init.constant(self[0].bias, 0) /media/lab/16DE307A392D4AED/zs/Relation-Shape-CNN/models/../utils/pytorch_utils/pytorch_utils.py:400: UserWarning: nn.init.constant is now deprecated in favor of nn.init.constant_. nn.init.constant(fc.bias, 0) Traceback (most recent call last): File "train_cls.py", line 167, in <module> main() File "train_cls.py", line 91, in main train(train_dataloader, test_dataloader, model, criterion, optimizer, lr_scheduler, bnm_scheduler, args, num_batch) File "train_cls.py", line 101, in train for i, data in enumerate(train_dataloader, 0): File "/home/lab/anaconda3/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 336, in __next__ return self._process_next_batch(batch) File "/home/lab/anaconda3/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 357, in _process_next_batch raise batch.exc_type(batch.exc_msg) RuntimeError: Traceback (most recent call last): File "/home/lab/anaconda3/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 106, in _worker_loop samples = collate_fn([dataset[i] for i in batch_indices]) File "/home/lab/anaconda3/lib/python3.7/site-packages/torch/utils/data/dataloader.py", line 106, in <listcomp> samples = collate_fn([dataset[i] for i in batch_indices]) File "/media/lab/16DE307A392D4AED/zs/Relation-Shape-CNN/data/ModelNet40Loader.py", line 55, in __getitem__ label = torch.from_numpy(self.labels[idx]).type(torch.LongTensor) RuntimeError: PyTorch was compiled without NumPy support 请大神解答!!!
【spring+quartz框架】scheduler.reschedulejob后执行了多次
关于spring+quartz框架配置多线程调度任务,小弟有一事一直没搞明白 一、quartz.properties中配置: #=============================================================== #Configure Main Scheduler Properties #=============================================================== org.quartz.scheduler.instanceName = QuartzScheduler org.quartz.scheduler.instanceId = AUTO #=============================================================== #Configure ThreadPool #=============================================================== org.quartz.threadPool.threadCount = 8 org.quartz.threadPool.threadPriority = 5 org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool #=============================================================== #Configure JobStore #=============================================================== org.quartz.jobStore.class = org.quartz.simpl.RAMJobStore org.quartz.jobStore.misfireThreshold = 60000 二、XML配置文件中配置了jobDetail: <bean id="monitorSMSJobDetail" class="org.springframework.scheduling.quartz.MethodInvokingJobDetailFactoryBean"> <property name="targetObject" ref="server"/> <property name="targetMethod" value="monitorSMS"/> <property name="concurrent" value="true"/> </bean> <bean id="monitorSMSCronTrigger" class="org.springframework.scheduling.quartz.CronTriggerBean"> <property name="jobDetail" ref="monitorSMSJobDetail"/> <property name="cronExpression"> <value>0/15 * * * * ?</value><!-- 每隔15秒调度执行 --> </property> </bean> 三、实现类调度方法 public void monitorSMS() { //scheduler.rescheduleJob(monitorSMSCronTrigger.getName(), Scheduler.DEFAULT_GROUP, monitorSMSCronTrigger); System.out.println("enter.."); } 问题是: 因配置了15秒执行一次调度,如果屏蔽掉scheduler.rescheduleJob这行代码,则每次是一个线程执行,如15:30:00 work_1执行,15:30:15 work_2执行,以此类推;如果不屏蔽,则每次8个线程并发执行,且每个线程执行N多次(N无规律,几十次到上百次吧) 求教大神,1 这是什么原因? 2 如果想让8个线程每次执行一遍应该如何做?
quartz与SPring scheduler.addjob()为空
scheduler.addJob(jobDetail, true); 并没有存入数据 后台也没有异常,请求哪位前辈指点一下,这是什么原因 其他的配置也都没有问题。 --quartz.xml <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN 2.0//EN" "http://www.springframework.org/dtd/spring-beans-2.0.dtd"> <beans> <bean name="quartzScheduler" class="org.springframework.scheduling.quartz.SchedulerFactoryBean"> <property name="dataSource" ref="jboss_dataSource" /> <property name="transactionManager" ref="transactionManager" /> <property name="applicationContextSchedulerContextKey" value="applicationContext" /> <property name="configLocation" value="classpath:quartz.properties" /> <!--这个是必须的,QuartzScheduler 延时启动,应用启动完后 QuartzScheduler 再启动 --> <property name="startupDelay" value="5" /> <!--这个是可选,QuartzScheduler 启动时更新己存在的Job,这样就不用每次修改targetObject后删除qrtz_job_details表对应记录了 --> <property name="overwriteExistingJobs" value="true" /> <property name="jobDetails"> <list> <ref bean="testBatch" /> </list> </property> </bean> <bean id="testBatch" class="com.sinosoft.core.spring.quartz.MethodInvokingJobDetailFactoryBean"> <!--shouldRecover属性为true,则当Quartz服务被中止后,再次启动任务时会尝试恢复执行之前未完成的所有任务 --> <property name="shouldRecover" value="true" /> <property name="durable" value="true" /> <property name="targetObject" ref="TestBatch" /> <property name="targetMethod" value="runTestBatch" /> </bean> </beans> --quartZ.properties org.quartz.scheduler.instanceName = DefaultQuartzScheduler org.quartz.scheduler.instanceId = AUTO org.quartz.scheduler.rmi.export = false org.quartz.scheduler.rmi.proxy = false org.quartz.scheduler.wrapJobExecutionInUserTransaction = false org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool org.quartz.threadPool.threadCount = 10 org.quartz.threadPool.threadPriority = 5 org.quartz.threadPool.threadsInheritContextClassLoaderOfInitializingThread = true org.quartz.jobStore.misfireThreshold = 60000 org.quartz.jobStore.class = org.quartz.impl.jdbcjobstore.JobStoreTX #org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.HSQLDBDelegate #org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.StdJDBCDelegate org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.oracle.OracleDelegate #org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.WebLogicDelegate #org.quartz.jobStore.useProperties = true org.quartz.jobStore.tablePrefix = QRTZ_ org.quartz.jobStore.isClustered = false #org.quartz.jobStore.clusterCheckinInterval = 300000 org.quartz.jobStore.maxMisfiresToHandleAtATime=1
spring-quartz的scheduler.rescheduleJob
scheduler.rescheduleJob 在重置表达式后,会自动调用一遍Job,这不是我想要的,重置后到了我的Cron表达式执行的时间再执行才对。我用的Trigger是:CronTrigger,没有startTime方法,用CronTriggerBean也没有此方法。求解决! ![图片说明](https://img-ask.csdn.net/upload/201505/28/1432825678_316420.jpg)
批量定时(使用quartz.jar) hibernate3.1.3+Spring1.2.8 程序运行一段时间停止
程序使用Hibernate 3.1.3+Spring 1.2.8,使用dbcp数据库连接,在程序中使用Quartz.jar定时四个任务,每天定时执行,运行几天后所有任务都不执行了,好像死锁了一样,无异常、无错误抛出,重新启动后又可正常执行。求高手指点,日志如下: 2013-09-17 21:00:41,859 org.hibernate.cfg.SettingsFactory - JDBC driver: Oracle JDBC driver, version: 10.2.0.1.0 2013-09-17 21:00:41,890 org.hibernate.dialect.Dialect - Using dialect: org.hibernate.dialect.Oracle9Dialect 2013-09-17 21:00:41,890 org.hibernate.transaction.TransactionFactoryFactory - Using default transaction strategy (direct JDBC transactions) 2013-09-17 21:00:41,890 org.hibernate.transaction.TransactionManagerLookupFactory - No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended) 2013-09-17 21:00:41,890 org.hibernate.cfg.SettingsFactory - Automatic flush during beforeCompletion(): disabled 2013-09-17 21:00:41,890 org.hibernate.cfg.SettingsFactory - Automatic session close at end of transaction: disabled 2013-09-17 21:00:41,890 org.hibernate.cfg.SettingsFactory - JDBC batch size: 15 2013-09-17 21:00:41,890 org.hibernate.cfg.SettingsFactory - JDBC batch updates for versioned data: disabled 2013-09-17 21:00:41,890 org.hibernate.cfg.SettingsFactory - Scrollable result sets: enabled 2013-09-17 21:00:41,890 org.hibernate.cfg.SettingsFactory - JDBC3 getGeneratedKeys(): enabled 2013-09-17 21:00:41,890 org.hibernate.cfg.SettingsFactory - Connection release mode: on_close 2013-09-17 21:00:41,890 org.hibernate.cfg.SettingsFactory - Maximum outer join fetch depth: 1 2013-09-17 21:00:41,890 org.hibernate.cfg.SettingsFactory - Default batch fetch size: 1 2013-09-17 21:00:41,890 org.hibernate.cfg.SettingsFactory - Generate SQL with comments: disabled 2013-09-17 21:00:41,890 org.hibernate.cfg.SettingsFactory - Order SQL updates by primary key: disabled 2013-09-17 21:00:41,890 org.hibernate.cfg.SettingsFactory - Query translator: org.hibernate.hql.classic.ClassicQueryTranslatorFactory 2013-09-17 21:00:41,890 org.hibernate.cfg.SettingsFactory - Query language substitutions: {} 2013-09-17 21:00:41,890 org.hibernate.cfg.SettingsFactory - Second-level cache: enabled 2013-09-17 21:00:41,890 org.hibernate.cfg.SettingsFactory - Query cache: disabled 2013-09-17 21:00:41,906 org.hibernate.cfg.SettingsFactory - Cache provider: org.hibernate.cache.EhCacheProvider 2013-09-17 21:00:41,906 org.hibernate.cfg.SettingsFactory - Optimize cache for minimal puts: disabled 2013-09-17 21:00:41,906 org.hibernate.cfg.SettingsFactory - Structured second-level cache entries: disabled 2013-09-17 21:00:41,906 org.hibernate.cfg.SettingsFactory - Echoing all SQL to stdout 2013-09-17 21:00:41,906 org.hibernate.cfg.SettingsFactory - Statistics: enabled 2013-09-17 21:00:41,906 org.hibernate.cfg.SettingsFactory - Deleted entity synthetic identifier rollback: disabled 2013-09-17 21:00:41,906 org.hibernate.cfg.SettingsFactory - Default entity-mode: pojo 2013-09-17 21:00:41,921 org.hibernate.impl.SessionFactoryImpl - building session factory 2013-09-17 21:00:41,937 net.sf.ehcache.config.Configurator - No configuration found. Configuring ehcache from ehcache-failsafe.xml found in the classpath: jar:file:/D:/workspace/ZCCL_BatchServer/lib/ehcache-1.1.jar!/ehcache-failsafe.xml 2013-09-17 21:00:42,500 org.hibernate.impl.SessionFactoryObjectFactory - Not binding factory to JNDI, no JNDI name configured 2013-09-17 21:00:42,578 org.springframework.aop.framework.DefaultAopProxyFactory - CGLIB2 available: proxyTargetClass feature enabled 2013-09-17 21:00:42,640 com.dcits.server.StartServer - Roman-----------systemEnv serverPort-----18171 2013-09-17 21:00:42,640 com.dcits.server.ListenServer - =======管理线程就绪======= 2013-09-17 21:00:42,640 com.dcits.server.ListenServer - 线程[1]启动完成 2013-09-17 21:00:42,640 com.dcits.server.ListenServer - 服务器忙,增加新线程 2013-09-17 21:00:42,640 com.dcits.server.ListenServer - 线程[2]启动完成 2013-09-17 21:00:42,640 com.dcits.server.AcceptServer - G0_L1_CR:=======正在监听端口[18171]======= 2013-09-17 21:00:42,640 com.dcits.server.AcceptServer - G0_L2_CR:=======正在监听端口[18171]======= 2013-09-17 21:00:42,671 org.springframework.beans.factory.xml.XmlBeanDefinitionReader - Loading XML bean definitions from class path resource [org/springframework/jdbc/support/sql-error-codes.xml] 2013-09-17 21:00:42,687 org.springframework.jdbc.support.SQLErrorCodesFactory - SQLErrorCodes loaded: [DB2, HSQL, MS-SQL, MySQL, Oracle, Informix, PostgreSQL, Sybase] Hibernate: select * from ( select this_.JOB_ID as JOB1_15_0_, this_.JOB_NAME as JOB2_15_0_, this_.JOB_CLASS as JOB3_15_0_, this_.JOB_TYPE as JOB4_15_0_, this_.JOB_TRIGGER_STATE as JOB5_15_0_, this_.JOB_CRON_EXPRESSION as JOB6_15_0_, this_.JOB_METHOD as JOB7_15_0_, this_.JOB_GROUP as JOB8_15_0_, this_.JOB_SPRING_BEAN as JOB9_15_0_, this_.JOB_EXE_LAST_TIME as JOB10_15_0_, this_.JOB_EXE_NEXT_TIME as JOB11_15_0_, this_.JOB_START_TIME as JOB12_15_0_, this_.JOB_END_TIME as JOB13_15_0_, this_.JOB_TRIGGER_TYPE as JOB14_15_0_, this_.JOB_PRI as JOB15_15_0_, this_.JOB_TRIGGER_NAME as JOB16_15_0_, this_.JOB_TRIGGER_GROUP as JOB17_15_0_, this_.JOB_EXE_STATE as JOB18_15_0_ from CHQB_JOB this_ ) where rownum <= ? 2013-09-17 21:00:42,859 com.dcits.job.util.JobUtil - Roman--------------jobList's size------5 2013-09-17 21:00:42,859 com.dcits.job.util.JobUtil - (JobInfo)job's class -----0 0/3 * * * ? 2013-09-17 21:00:42,921 org.quartz.simpl.SimpleThreadPool - Job execution threads will use class loader of thread: main 2013-09-17 21:00:42,953 org.quartz.simpl.RAMJobStore - RAMJobStore initialized. 2013-09-17 21:00:42,953 org.quartz.impl.StdSchedulerFactory - Quartz scheduler 'DefaultQuartzScheduler' initialized from default resource file in Quartz package: 'quartz.properties' 2013-09-17 21:00:42,953 org.quartz.impl.StdSchedulerFactory - Quartz scheduler version: 1.4.2 2013-09-17 21:00:42,968 com.dcits.job.util.JobUtil - (JobInfo)job's class -----0 01 11 * * ? 2013-09-17 21:00:42,984 com.dcits.job.util.JobUtil - (JobInfo)job's class -----0 00 16 * * ? 2013-09-17 21:00:43,000 com.dcits.job.util.JobUtil - (JobInfo)job's class -----0 0/1 * * * ? 2013-09-17 21:00:43,046 com.dcits.job.util.JobUtil - (JobInfo)job's class -----0 50 16 * * ? 2013-09-17 21:00:43,062 org.quartz.core.QuartzScheduler - Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started. 2013-09-17 21:01:00,015 com.dcits.job.base.BaseJob - ----START------TrpLoadBatchJob---------- 2013-09-17 21:01:00,015 com.dcits.job.TrpLoadBatchJob - Tue Sep 17 21:01:00 CST 2013################START RUN TrpLoadBatchJob ##########0
eclipse无法启动了,日志记录如下。没有安装Oracle。
环境变量如下: %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%JAVA_HOME%\bin;%JAVA_HOME%\jre\bin; C:\Program Files\TortoiseSVN\bin; jdk版本为1.6. 之前还开发的好好的,今天早上就不行了。升级过Flash插件。没安装Oracle,有SQLDevelop。 !SESSION 2014-05-26 16:34:13.138 ----------------------------------------------- eclipse.buildId=4.3.0.I20130605-2000 java.version=1.7.0_25 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN Framework arguments: -product org.eclipse.epp.package.rcp.product Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.rcp.product !ENTRY org.eclipse.osgi 2 0 2014-05-26 16:34:14.980 !MESSAGE 由于未解析以下根约束,所以未解析一个或多个束: !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:14.980 !MESSAGE 未解析 bundle reference:file:plugins/org.eclipse.mylyn.commons.workbench_3.9.0.v20130612-0100.jar。 !SUBENTRY 2 org.eclipse.mylyn.commons.workbench 2 0 2014-05-26 16:34:14.980 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench_0.0.0。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:14.980 !MESSAGE 未解析 bundle reference:file:plugins/org.eclipse.ui.views.properties.tabbed_3.6.0.v20130515-1857.jar。 !SUBENTRY 2 org.eclipse.ui.views.properties.tabbed 2 0 2014-05-26 16:34:14.980 !MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))". !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:14.980 !MESSAGE 未解析 bundle reference:file:plugins/org.eclipse.jdt.compiler.apt.nl_zh_4.3.0.v20131123020001.jar。 !SUBENTRY 2 org.eclipse.jdt.compiler.apt.nl_zh 2 0 2014-05-26 16:34:14.980 !MESSAGE 缺少主机 org.eclipse.jdt.compiler.apt_0.0.0。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:14.980 !MESSAGE 未解析 bundle reference:file:plugins/org.eclipse.egit.mylyn.ui_3.0.0.201306101825-r.jar。 !SUBENTRY 2 org.eclipse.egit.mylyn.ui 2 0 2014-05-26 16:34:14.980 !MESSAGE 缺少已导入包 org.eclipse.ui.plugin_0.0.0。 !SUBENTRY 2 org.eclipse.egit.mylyn.ui 2 0 2014-05-26 16:34:14.980 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench_0.0.0。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:14.980 !MESSAGE 未解析 bundle reference:file:plugins/org.eclipse.m2e.logback.appender_1.4.0.20130601-0317.jar。 !SUBENTRY 2 org.eclipse.m2e.logback.appender 2 0 2014-05-26 16:34:14.980 !MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.6))(&(osgi.ee=JavaSE)(version=1.7)))". !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:14.980 !MESSAGE 未解析 bundle reference:file:plugins/org.eclipse.m2e.scm_1.4.0.20130601-0317.jar。 !SUBENTRY 2 org.eclipse.m2e.scm 2 0 2014-05-26 16:34:14.980 !MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.6))(&(osgi.ee=JavaSE)(version=1.7)))". !SUBENTRY 2 org.eclipse.m2e.scm 2 0 2014-05-26 16:34:14.981 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench_3.5.2。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:14.981 !MESSAGE 未解析 bundle reference:file:plugins/org.eclipse.mylyn.commons.notifications.ui_1.1.0.v20130612-0100.jar。 !SUBENTRY 2 org.eclipse.mylyn.commons.notifications.ui 2 0 2014-05-26 16:34:14.981 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench_0.0.0。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:14.981 !MESSAGE 未解析 bundle reference:file:plugins/org.eclipse.m2e.refactoring_1.4.0.20130601-0317.jar。 !SUBENTRY 2 org.eclipse.m2e.refactoring 2 0 2014-05-26 16:34:14.981 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench_0.0.0。 !SUBENTRY 2 org.eclipse.m2e.refactoring 2 0 2014-05-26 16:34:14.981 !MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.6))(&(osgi.ee=JavaSE)(version=1.7)))". !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:14.981 !MESSAGE 未解析 bundle reference:file:plugins/org.eclipse.compare.win32_1.0.200.v20130514-1224.jar。 !SUBENTRY 2 org.eclipse.compare.win32 2 0 2014-05-26 16:34:14.981 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench_[3.5.0,4.0.0)。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:14.981 !MESSAGE 未解析 bundle reference:file:plugins/org.eclipse.ui.net_1.2.200.v20120807-0927.jar。 !SUBENTRY 2 org.eclipse.ui.net 2 0 2014-05-26 16:34:14.981 !MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.4))(&(osgi.ee=CDC/Foundation)(version=1.1)))". !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:14.981 !MESSAGE 未解析 bundle reference:file:plugins/org.eclipse.equinox.p2.ui.importexport_1.1.0.v20130327-2119.jar。 !SUBENTRY 2 org.eclipse.equinox.p2.ui.importexport 2 0 2014-05-26 16:34:14.981 !MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.5))(&(osgi.ee=JavaSE)(version=1.4))(&(osgi.ee=CDC/Foundation)(version=1.1)))". !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:14.981 !MESSAGE 未解析 bundle reference:file:plugins/org.eclipse.emf.edit.ui_2.9.0.v20130610-0406.jar。 !SUBENTRY 2 org.eclipse.emf.edit.ui 2 0 2014-05-26 16:34:14.981 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench_[3.5.0,4.0.0)。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:14.981 !MESSAGE 未解析 bundle reference:file:plugins/org.eclipse.equinox.p2.ui_2.3.0.v20130528-2154.jar。 !SUBENTRY 2 org.eclipse.equinox.p2.ui 2 0 2014-05-26 16:34:14.981 !MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.5))(&(osgi.ee=JavaSE)(version=1.4))(&(osgi.ee=CDC/Foundation)(version=1.1)))". !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:14.981 !MESSAGE 未解析 bundle reference:file:plugins/org.eclipse.m2e.launching_1.4.0.20130601-0317.jar。 !SUBENTRY 2 org.eclipse.m2e.launching 2 0 2014-05-26 16:34:14.981 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench_0.0.0。 !SUBENTRY 2 org.eclipse.m2e.launching 2 0 2014-05-26 16:34:14.981 !MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.6))(&(osgi.ee=JavaSE)(version=1.7)))". !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:14.981 !MESSAGE 未解析 bundle reference:file:plugins/org.eclipse.platform_4.3.0.v20130605-2000/。 !SUBENTRY 2 org.eclipse.platform 2 0 2014-05-26 16:34:14.981 !MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.4))(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))". !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:14.982 !MESSAGE 未解析 bundle reference:file:plugins/org.eclipse.m2e.core.ui_1.4.0.20130601-0317.jar。 !SUBENTRY 2 org.eclipse.m2e.core.ui 2 0 2014-05-26 16:34:14.982 !MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.6))(&(osgi.ee=JavaSE)(version=1.7)))". !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:14.982 !MESSAGE 未解析 bundle reference:file:plugins/org.eclipse.mylyn.versions.ui_1.1.0.v20130612-0100.jar。 !SUBENTRY 2 org.eclipse.mylyn.versions.ui 2 0 2014-05-26 16:34:14.982 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench_0.0.0。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:14.982 !MESSAGE 未解析 bundle reference:file:plugins/org.eclipse.m2e.editor_1.4.0.20130601-0317.jar。 !SUBENTRY 2 org.eclipse.m2e.editor 2 0 2014-05-26 16:34:14.982 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench_0.0.0。 !SUBENTRY 2 org.eclipse.m2e.editor 2 0 2014-05-26 16:34:14.982 !MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.6))(&(osgi.ee=JavaSE)(version=1.7)))". !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:14.982 !MESSAGE 未解析 bundle reference:file:plugins/org.eclipse.gef_3.9.0.201305060205.jar。 !SUBENTRY 2 org.eclipse.gef 2 0 2014-05-26 16:34:14.982 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench_[3.2.0,4.0.0)。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:14.982 !MESSAGE 未解析 bundle reference:file:plugins/org.eclipse.ui.workbench.nl_zh_4.3.0.v20131123020001.jar。 !SUBENTRY 2 org.eclipse.ui.workbench.nl_zh 2 0 2014-05-26 16:34:14.982 !MESSAGE 缺少主机 org.eclipse.ui.workbench_0.0.0。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:14.982 !MESSAGE 未解析 bundle reference:file:plugins/org.eclipse.ui.ide_3.9.0.v20130517-0139.jar。 !SUBENTRY 2 org.eclipse.ui.ide 2 0 2014-05-26 16:34:14.982 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench_[3.7.0,4.0.0)。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:14.982 !MESSAGE 未解析 bundle reference:file:plugins/org.eclipse.equinox.p2.ui.sdk_1.0.300.v20130503-1750.jar。 !SUBENTRY 2 org.eclipse.equinox.p2.ui.sdk 2 0 2014-05-26 16:34:14.983 !MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.5))(&(osgi.ee=JavaSE)(version=1.4))(&(osgi.ee=CDC/Foundation)(version=1.1)))". !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:14.983 !MESSAGE 未解析 bundle reference:file:plugins/org.eclipse.m2e.jdt_1.4.0.20130601-0317.jar。 !SUBENTRY 2 org.eclipse.m2e.jdt 2 0 2014-05-26 16:34:14.983 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench_0.0.0。 !SUBENTRY 2 org.eclipse.m2e.jdt 2 0 2014-05-26 16:34:14.983 !MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.6))(&(osgi.ee=JavaSE)(version=1.7)))". !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:14.983 !MESSAGE 未解析 bundle reference:file:plugins/org.eclipse.jdt.compiler.tool.nl_zh_4.3.0.v20131123020001.jar。 !SUBENTRY 2 org.eclipse.jdt.compiler.tool.nl_zh 2 0 2014-05-26 16:34:14.983 !MESSAGE 缺少主机 org.eclipse.jdt.compiler.tool_0.0.0。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:14.983 !MESSAGE 未解析 bundle reference:file:plugins/org.eclipse.ui_3.105.0.v20130522-1122.jar。 !SUBENTRY 2 org.eclipse.ui 2 0 2014-05-26 16:34:14.983 !MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=CDC/Foundation)(version=1.0))(&(osgi.ee=JavaSE)(version=1.3)))". !SUBENTRY 2 org.eclipse.ui 2 0 2014-05-26 16:34:14.983 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench_[3.105.0,4.0.0)。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:14.983 !MESSAGE 未解析 bundle reference:file:plugins/org.eclipse.mylyn.team.cvs_3.9.0.v20130612-0100.jar。 !SUBENTRY 2 org.eclipse.mylyn.team.cvs 2 0 2014-05-26 16:34:14.983 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench_0.0.0。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:14.983 !MESSAGE 未解析 bundle reference:file:plugins/org.eclipse.m2e.discovery_1.4.0.20130601-0317.jar。 !SUBENTRY 2 org.eclipse.m2e.discovery 2 0 2014-05-26 16:34:14.983 !MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.6))(&(osgi.ee=JavaSE)(version=1.7)))". !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:14.984 !MESSAGE 未解析 bundle reference:file:plugins/org.eclipse.m2e.editor.xml_1.4.0.20130601-0317.jar。 !SUBENTRY 2 org.eclipse.m2e.editor.xml 2 0 2014-05-26 16:34:14.984 !MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.6))(&(osgi.ee=JavaSE)(version=1.7)))". !ENTRY org.eclipse.osgi 2 0 2014-05-26 16:34:15.312 !MESSAGE 以下是未解析的束的完整列表,请参阅上一个日志条目以了解根本原因(如果存在该日志条目的话): !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.312 !MESSAGE 未解析 bundle org.eclipse.ant.ui_3.5.400.v20130514-1341 [59]。 !SUBENTRY 2 org.eclipse.ant.ui 2 0 2014-05-26 16:34:15.312 !MESSAGE 缺少可选的必需 bundle org.eclipse.ui.ide_[3.2.0,4.0.0)。 !SUBENTRY 2 org.eclipse.ant.ui 2 0 2014-05-26 16:34:15.312 !MESSAGE 缺少可选的必需 bundle org.eclipse.ui.views_[3.2.0,4.0.0)。 !SUBENTRY 2 org.eclipse.ant.ui 2 0 2014-05-26 16:34:15.312 !MESSAGE 缺少可选的必需 bundle org.eclipse.ui.workbench.texteditor_[3.5.0,4.0.0)。 !SUBENTRY 2 org.eclipse.ant.ui 2 0 2014-05-26 16:34:15.312 !MESSAGE 缺少可选的必需 bundle org.eclipse.ui.editors_[3.2.0,4.0.0)。 !SUBENTRY 2 org.eclipse.ant.ui 2 0 2014-05-26 16:34:15.312 !MESSAGE 缺少必需的 bundle org.eclipse.ui.externaltools_[3.2.0,4.0.0)。 !SUBENTRY 2 org.eclipse.ant.ui 2 0 2014-05-26 16:34:15.312 !MESSAGE 缺少必需的 bundle org.eclipse.ui_[3.2.0,4.0.0)。 !SUBENTRY 2 org.eclipse.ant.ui 2 0 2014-05-26 16:34:15.312 !MESSAGE 缺少必需的 bundle org.eclipse.ui.console_[3.1.0,4.0.0)。 !SUBENTRY 2 org.eclipse.ant.ui 2 0 2014-05-26 16:34:15.312 !MESSAGE 缺少必需的 bundle org.eclipse.debug.ui_[3.6.0,4.0.0)。 !SUBENTRY 2 org.eclipse.ant.ui 2 0 2014-05-26 16:34:15.312 !MESSAGE 缺少必需的 bundle org.eclipse.jdt.ui_[3.2.0,4.0.0)。 !SUBENTRY 2 org.eclipse.ant.ui 2 0 2014-05-26 16:34:15.312 !MESSAGE 缺少必需的 bundle org.eclipse.jdt.debug.ui_[3.2.0,4.0.0)。 !SUBENTRY 2 org.eclipse.ant.ui 2 0 2014-05-26 16:34:15.312 !MESSAGE 缺少必需的 bundle org.eclipse.jdt.junit_[3.5.0,4.0.0)。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.312 !MESSAGE 未解析 bundle org.eclipse.compare_3.5.400.v20130514-1224 [60]。 !SUBENTRY 2 org.eclipse.compare 2 0 2014-05-26 16:34:15.312 !MESSAGE 缺少必需的 bundle org.eclipse.ui_[3.5.0,4.0.0)。 !SUBENTRY 2 org.eclipse.compare 2 0 2014-05-26 16:34:15.312 !MESSAGE 缺少必需的 bundle org.eclipse.ui.ide_[3.3.0,4.0.0)。 !SUBENTRY 2 org.eclipse.compare 2 0 2014-05-26 16:34:15.312 !MESSAGE 缺少必需的 bundle org.eclipse.ui.views_[3.2.0,4.0.0)。 !SUBENTRY 2 org.eclipse.compare 2 0 2014-05-26 16:34:15.312 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench.texteditor_[3.5.0,4.0.0)。 !SUBENTRY 2 org.eclipse.compare 2 0 2014-05-26 16:34:15.312 !MESSAGE 缺少必需的 bundle org.eclipse.ui.editors_[3.5.0,4.0.0)。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.312 !MESSAGE 未解析 bundle org.eclipse.compare.win32_1.0.200.v20130514-1224 [62]。 !SUBENTRY 2 org.eclipse.compare.win32 2 0 2014-05-26 16:34:15.313 !MESSAGE 缺少必需的 bundle org.eclipse.compare_[3.5.0,4.0.0)。 !SUBENTRY 2 org.eclipse.compare.win32 2 0 2014-05-26 16:34:15.313 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench_[3.5.0,4.0.0)。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.313 !MESSAGE 未解析 bundle org.eclipse.debug.ui_3.9.0.v20130516-1713 [86]。 !SUBENTRY 2 org.eclipse.debug.ui 2 0 2014-05-26 16:34:15.313 !MESSAGE 缺少必需的 bundle org.eclipse.ui_[3.5.0,4.0.0)。 !SUBENTRY 2 org.eclipse.debug.ui 2 0 2014-05-26 16:34:15.313 !MESSAGE 缺少必需的 bundle org.eclipse.ui.console_[3.4.0,4.0.0)。 !SUBENTRY 2 org.eclipse.debug.ui 2 0 2014-05-26 16:34:15.313 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench.texteditor_[3.5.0,4.0.0)。 !SUBENTRY 2 org.eclipse.debug.ui 2 0 2014-05-26 16:34:15.313 !MESSAGE 缺少必需的 bundle org.eclipse.ui.ide_[3.5.0,4.0.0)。 !SUBENTRY 2 org.eclipse.debug.ui 2 0 2014-05-26 16:34:15.313 !MESSAGE 缺少必需的 bundle org.eclipse.ui.editors_[3.5.0,4.0.0)。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.313 !MESSAGE 未解析 bundle org.eclipse.egit.doc_3.0.0.201306101825-r [116]。 !SUBENTRY 2 org.eclipse.egit.doc 2 0 2014-05-26 16:34:15.313 !MESSAGE 缺少必需的 bundle org.eclipse.ui.cheatsheets_[3.3.0,4.0.0)。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.313 !MESSAGE 未解析 bundle org.eclipse.egit.mylyn.ui_3.0.0.201306101825-r [117]。 !SUBENTRY 2 org.eclipse.egit.mylyn.ui 2 0 2014-05-26 16:34:15.313 !MESSAGE 缺少必需的 bundle org.eclipse.ui.navigator.resources_0.0.0。 !SUBENTRY 2 org.eclipse.egit.mylyn.ui 2 0 2014-05-26 16:34:15.313 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench_0.0.0。 !SUBENTRY 2 org.eclipse.egit.mylyn.ui 2 0 2014-05-26 16:34:15.313 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.tasks.ui_[3.0.0,4.0.0)。 !SUBENTRY 2 org.eclipse.egit.mylyn.ui 2 0 2014-05-26 16:34:15.313 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.team.ui_[3.0.0,4.0.0)。 !SUBENTRY 2 org.eclipse.egit.mylyn.ui 2 0 2014-05-26 16:34:15.313 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.resources.ui_[3.0.0,4.0.0)。 !SUBENTRY 2 org.eclipse.egit.mylyn.ui 2 0 2014-05-26 16:34:15.313 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench.texteditor_0.0.0。 !SUBENTRY 2 org.eclipse.egit.mylyn.ui 2 0 2014-05-26 16:34:15.313 !MESSAGE 缺少已导入包 org.eclipse.egit.ui_[3.0.0,3.1.0)。 !SUBENTRY 2 org.eclipse.egit.mylyn.ui 2 0 2014-05-26 16:34:15.313 !MESSAGE 缺少已导入包 org.eclipse.egit.ui.internal.commit_[3.0.0,3.1.0)。 !SUBENTRY 2 org.eclipse.egit.mylyn.ui 2 0 2014-05-26 16:34:15.313 !MESSAGE 缺少已导入包 org.eclipse.egit.ui.internal.synchronize.model_[3.0.0,3.1.0)。 !SUBENTRY 2 org.eclipse.egit.mylyn.ui 2 0 2014-05-26 16:34:15.314 !MESSAGE 缺少已导入包 org.eclipse.ui.plugin_0.0.0。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.314 !MESSAGE 未解析 bundle org.eclipse.egit.ui_3.0.0.201306101825-r [118]。 !SUBENTRY 2 org.eclipse.egit.ui 2 0 2014-05-26 16:34:15.314 !MESSAGE 缺少必需的 bundle org.eclipse.ui_[3.5.0,4.0.0)。 !SUBENTRY 2 org.eclipse.egit.ui 2 0 2014-05-26 16:34:15.314 !MESSAGE 缺少必需的 bundle org.eclipse.team.ui_[3.6.200,4.0.0)。 !SUBENTRY 2 org.eclipse.egit.ui 2 0 2014-05-26 16:34:15.314 !MESSAGE 缺少必需的 bundle org.eclipse.ui.ide_[3.4.0,4.0.0)。 !SUBENTRY 2 org.eclipse.egit.ui 2 0 2014-05-26 16:34:15.314 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench.texteditor_[3.4.0,4.0.0)。 !SUBENTRY 2 org.eclipse.egit.ui 2 0 2014-05-26 16:34:15.314 !MESSAGE 缺少必需的 bundle org.eclipse.compare_[3.4.0,4.0.0)。 !SUBENTRY 2 org.eclipse.egit.ui 2 0 2014-05-26 16:34:15.314 !MESSAGE 缺少必需的 bundle org.eclipse.ui.ide_[3.4.0,4.0.0)。 !SUBENTRY 2 org.eclipse.egit.ui 2 0 2014-05-26 16:34:15.314 !MESSAGE 缺少必需的 bundle org.eclipse.jsch.ui_[1.1.100,2.0.0)。 !SUBENTRY 2 org.eclipse.egit.ui 2 0 2014-05-26 16:34:15.314 !MESSAGE 缺少必需的 bundle org.eclipse.ui.editors_[3.4.0,4.0.0)。 !SUBENTRY 2 org.eclipse.egit.ui 2 0 2014-05-26 16:34:15.314 !MESSAGE 缺少必需的 bundle org.eclipse.ui.navigator_[3.3.0,4.0.0)。 !SUBENTRY 2 org.eclipse.egit.ui 2 0 2014-05-26 16:34:15.314 !MESSAGE 缺少可选的必需 bundle org.eclipse.search_[3.4.0,4.0.0)。 !SUBENTRY 2 org.eclipse.egit.ui 2 0 2014-05-26 16:34:15.314 !MESSAGE 缺少可选的必需 bundle org.eclipse.debug.ui_[3.4.0,4.0.0)。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.314 !MESSAGE 未解析 bundle org.eclipse.emf.common.ui_2.8.0.v20130610-0406 [120]。 !SUBENTRY 2 org.eclipse.emf.common.ui 2 0 2014-05-26 16:34:15.314 !MESSAGE 缺少必需的 bundle org.eclipse.ui_[3.5.0,4.0.0)。 !SUBENTRY 2 org.eclipse.emf.common.ui 2 0 2014-05-26 16:34:15.314 !MESSAGE 缺少可选的必需 bundle org.eclipse.ui.ide_[3.5.0,4.0.0)。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.314 !MESSAGE 未解析 bundle org.eclipse.emf.edit.ui_2.9.0.v20130610-0406 [127]。 !SUBENTRY 2 org.eclipse.emf.edit.ui 2 0 2014-05-26 16:34:15.314 !MESSAGE 缺少必需的 bundle org.eclipse.ui.views_[3.4.0,4.0.0)。 !SUBENTRY 2 org.eclipse.emf.edit.ui 2 0 2014-05-26 16:34:15.314 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench_[3.5.0,4.0.0)。 !SUBENTRY 2 org.eclipse.emf.edit.ui 2 0 2014-05-26 16:34:15.314 !MESSAGE 缺少必需的 bundle org.eclipse.emf.common.ui_[2.8.0,3.0.0)。 !SUBENTRY 2 org.eclipse.emf.edit.ui 2 0 2014-05-26 16:34:15.314 !MESSAGE 缺少可选的必需 bundle org.eclipse.ui.ide_[3.5.0,4.0.0)。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.314 !MESSAGE 未解析 bundle org.eclipse.epp.mpc.ui_1.2.0.v20130612-1900 [130]。 !SUBENTRY 2 org.eclipse.epp.mpc.ui 2 0 2014-05-26 16:34:15.314 !MESSAGE 缺少必需的 bundle org.eclipse.ui_3.6.0。 !SUBENTRY 2 org.eclipse.epp.mpc.ui 2 0 2014-05-26 16:34:15.314 !MESSAGE 缺少必需的 bundle org.eclipse.equinox.p2.ui.discovery_[1.0.0,1.1.0)。 !SUBENTRY 2 org.eclipse.epp.mpc.ui 2 0 2014-05-26 16:34:15.314 !MESSAGE 缺少可选的必需 bundle org.eclipse.ui.intro_0.0.0。 !SUBENTRY 2 org.eclipse.epp.mpc.ui 2 0 2014-05-26 16:34:15.314 !MESSAGE 缺少可选的必需 bundle org.eclipse.ui.intro.universal_0.0.0。 !SUBENTRY 2 org.eclipse.epp.mpc.ui 2 0 2014-05-26 16:34:15.315 !MESSAGE 缺少必需的 bundle org.eclipse.equinox.p2.ui_1.0.4。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.315 !MESSAGE 未解析 bundle org.eclipse.epp.package.rcp_2.0.0.20130613-0530 [131]。 !SUBENTRY 2 org.eclipse.epp.package.rcp 2 0 2014-05-26 16:34:15.315 !MESSAGE 缺少必需的 bundle org.eclipse.platform_[4.3.0,5.0.0)。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.315 !MESSAGE 未解析 bundle org.eclipse.equinox.p2.ui_2.3.0.v20130528-2154 [172]。 !SUBENTRY 2 org.eclipse.equinox.p2.ui 2 0 2014-05-26 16:34:15.315 !MESSAGE 缺少必需的 bundle org.eclipse.ui_3.6.0。 !SUBENTRY 2 org.eclipse.equinox.p2.ui 2 0 2014-05-26 16:34:15.315 !MESSAGE 缺少必需的 bundle org.eclipse.equinox.security.ui_[1.0.0,2.0.0)。 !SUBENTRY 2 org.eclipse.equinox.p2.ui 2 0 2014-05-26 16:34:15.315 !MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.5))(&(osgi.ee=JavaSE)(version=1.4))(&(osgi.ee=CDC/Foundation)(version=1.1)))". !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.315 !MESSAGE 未解析 bundle org.eclipse.equinox.p2.ui.discovery_1.0.0.v20130502-0334 [173]。 !SUBENTRY 2 org.eclipse.equinox.p2.ui.discovery 2 0 2014-05-26 16:34:15.315 !MESSAGE 缺少必需的 bundle org.eclipse.ui_0.0.0。 !SUBENTRY 2 org.eclipse.equinox.p2.ui.discovery 2 0 2014-05-26 16:34:15.315 !MESSAGE 缺少必需的 bundle org.eclipse.ui.browser_0.0.0。 !SUBENTRY 2 org.eclipse.equinox.p2.ui.discovery 2 0 2014-05-26 16:34:15.315 !MESSAGE 缺少必需的 bundle org.eclipse.equinox.p2.ui_2.0.0。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.315 !MESSAGE 未解析 bundle org.eclipse.equinox.p2.ui.importexport_1.1.0.v20130327-2119 [174]。 !SUBENTRY 2 org.eclipse.equinox.p2.ui.importexport 2 0 2014-05-26 16:34:15.315 !MESSAGE 缺少必需的 bundle org.eclipse.ui_0.0.0。 !SUBENTRY 2 org.eclipse.equinox.p2.ui.importexport 2 0 2014-05-26 16:34:15.315 !MESSAGE 缺少必需的 bundle org.eclipse.equinox.p2.ui_0.0.0。 !SUBENTRY 2 org.eclipse.equinox.p2.ui.importexport 2 0 2014-05-26 16:34:15.315 !MESSAGE 缺少已导入包 org.eclipse.equinox.internal.p2.ui_0.0.0。 !SUBENTRY 2 org.eclipse.equinox.p2.ui.importexport 2 0 2014-05-26 16:34:15.315 !MESSAGE 缺少已导入包 org.eclipse.equinox.internal.p2.ui.dialogs_0.0.0。 !SUBENTRY 2 org.eclipse.equinox.p2.ui.importexport 2 0 2014-05-26 16:34:15.315 !MESSAGE 缺少已导入包 org.eclipse.equinox.internal.p2.ui.model_0.0.0。 !SUBENTRY 2 org.eclipse.equinox.p2.ui.importexport 2 0 2014-05-26 16:34:15.315 !MESSAGE 缺少已导入包 org.eclipse.equinox.internal.p2.ui.viewers_0.0.0。 !SUBENTRY 2 org.eclipse.equinox.p2.ui.importexport 2 0 2014-05-26 16:34:15.315 !MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.5))(&(osgi.ee=JavaSE)(version=1.4))(&(osgi.ee=CDC/Foundation)(version=1.1)))". !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.315 !MESSAGE 未解析 bundle org.eclipse.equinox.p2.ui.sdk_1.0.300.v20130503-1750 [175]。 !SUBENTRY 2 org.eclipse.equinox.p2.ui.sdk 2 0 2014-05-26 16:34:15.315 !MESSAGE 缺少必需的 bundle org.eclipse.ui_3.6.0。 !SUBENTRY 2 org.eclipse.equinox.p2.ui.sdk 2 0 2014-05-26 16:34:15.315 !MESSAGE 缺少必需的 bundle org.eclipse.equinox.p2.ui_0.0.0。 !SUBENTRY 2 org.eclipse.equinox.p2.ui.sdk 2 0 2014-05-26 16:34:15.315 !MESSAGE Missing optionally imported package org.eclipse.compare_0.0.0. !SUBENTRY 2 org.eclipse.equinox.p2.ui.sdk 2 0 2014-05-26 16:34:15.315 !MESSAGE Missing optionally imported package org.eclipse.compare.structuremergeviewer_0.0.0. !SUBENTRY 2 org.eclipse.equinox.p2.ui.sdk 2 0 2014-05-26 16:34:15.315 !MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.5))(&(osgi.ee=JavaSE)(version=1.4))(&(osgi.ee=CDC/Foundation)(version=1.1)))". !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.315 !MESSAGE 未解析 bundle org.eclipse.equinox.p2.ui.sdk.scheduler_1.2.0.v20130603-2142 [176]。 !SUBENTRY 2 org.eclipse.equinox.p2.ui.sdk.scheduler 2 0 2014-05-26 16:34:15.315 !MESSAGE 缺少必需的 bundle org.eclipse.ui_0.0.0。 !SUBENTRY 2 org.eclipse.equinox.p2.ui.sdk.scheduler 2 0 2014-05-26 16:34:15.316 !MESSAGE 缺少必需的 bundle org.eclipse.equinox.p2.ui_0.0.0。 !SUBENTRY 2 org.eclipse.equinox.p2.ui.sdk.scheduler 2 0 2014-05-26 16:34:15.316 !MESSAGE 缺少已导入包 org.eclipse.equinox.internal.p2.ui_0.0.0。 !SUBENTRY 2 org.eclipse.equinox.p2.ui.sdk.scheduler 2 0 2014-05-26 16:34:15.316 !MESSAGE 缺少已导入包 org.eclipse.equinox.internal.p2.ui.actions_0.0.0。 !SUBENTRY 2 org.eclipse.equinox.p2.ui.sdk.scheduler 2 0 2014-05-26 16:34:15.316 !MESSAGE 缺少已导入包 org.eclipse.equinox.internal.p2.ui.query_0.0.0。 !SUBENTRY 2 org.eclipse.equinox.p2.ui.sdk.scheduler 2 0 2014-05-26 16:34:15.316 !MESSAGE 缺少已导入包 org.eclipse.equinox.p2.ui_[2.0.0,3.0.0)。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.316 !MESSAGE 未解析 bundle org.eclipse.equinox.security.ui_1.1.100.v20130327-1442 [182]。 !SUBENTRY 2 org.eclipse.equinox.security.ui 2 0 2014-05-26 16:34:15.316 !MESSAGE 缺少必需的 bundle org.eclipse.ui_[3.4.0,4.0.0)。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.316 !MESSAGE 未解析 bundle org.eclipse.gef_3.9.0.201305060205 [186]。 !SUBENTRY 2 org.eclipse.gef 2 0 2014-05-26 16:34:15.316 !MESSAGE 缺少可选的必需 bundle org.eclipse.ui.views_[3.2.0,4.0.0)。 !SUBENTRY 2 org.eclipse.gef 2 0 2014-05-26 16:34:15.316 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench_[3.2.0,4.0.0)。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.316 !MESSAGE 未解析 bundle org.eclipse.help.ui_4.0.0.v20130515-1955 [189]。 !SUBENTRY 2 org.eclipse.help.ui 2 0 2014-05-26 16:34:15.316 !MESSAGE 缺少必需的 bundle org.eclipse.ui_[3.6.0,4.0.0)。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.316 !MESSAGE 未解析 bundle org.eclipse.jdt_3.9.0.v20130605-2000 [191]。 !SUBENTRY 2 org.eclipse.jdt 2 0 2014-05-26 16:34:15.316 !MESSAGE 缺少必需的 bundle org.eclipse.ui.intro_[3.2.0,4.0.0)。 !SUBENTRY 2 org.eclipse.jdt 2 0 2014-05-26 16:34:15.316 !MESSAGE 缺少必需的 bundle org.eclipse.ui.cheatsheets_[3.2.0,4.0.0)。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.316 !MESSAGE 未解析 bundle org.eclipse.jdt.apt.ui_3.3.300.v20120516-0617 [195]。 !SUBENTRY 2 org.eclipse.jdt.apt.ui 2 0 2014-05-26 16:34:15.316 !MESSAGE 缺少必需的 bundle org.eclipse.jdt.ui_[3.2.0,4.0.0)。 !SUBENTRY 2 org.eclipse.jdt.apt.ui 2 0 2014-05-26 16:34:15.316 !MESSAGE 缺少必需的 bundle org.eclipse.ui_[3.5.0,4.0.0)。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.316 !MESSAGE 未解析 bundle org.eclipse.jdt.debug.ui_3.6.200.v20130514-0841 [201]。 !SUBENTRY 2 org.eclipse.jdt.debug.ui 2 0 2014-05-26 16:34:15.316 !MESSAGE 缺少必需的 bundle org.eclipse.ui.ide_[3.5.0,4.0.0)。 !SUBENTRY 2 org.eclipse.jdt.debug.ui 2 0 2014-05-26 16:34:15.316 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench.texteditor_[3.5.0,4.0.0)。 !SUBENTRY 2 org.eclipse.jdt.debug.ui 2 0 2014-05-26 16:34:15.316 !MESSAGE 缺少必需的 bundle org.eclipse.ui.editors_[3.5.0,4.0.0)。 !SUBENTRY 2 org.eclipse.jdt.debug.ui 2 0 2014-05-26 16:34:15.316 !MESSAGE 缺少必需的 bundle org.eclipse.ui_[3.5.0,4.0.0)。 !SUBENTRY 2 org.eclipse.jdt.debug.ui 2 0 2014-05-26 16:34:15.316 !MESSAGE 缺少必需的 bundle org.eclipse.debug.ui_[3.8.0,4.0.0)。 !SUBENTRY 2 org.eclipse.jdt.debug.ui 2 0 2014-05-26 16:34:15.316 !MESSAGE 缺少必需的 bundle org.eclipse.jdt.ui_[3.8.0,4.0.0)。 !SUBENTRY 2 org.eclipse.jdt.debug.ui 2 0 2014-05-26 16:34:15.316 !MESSAGE 缺少必需的 bundle org.eclipse.ui.console_[3.4.0,4.0.0)。 !SUBENTRY 2 org.eclipse.jdt.debug.ui 2 0 2014-05-26 16:34:15.316 !MESSAGE 缺少必需的 bundle org.eclipse.search_[3.5.0,4.0.0)。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.316 !MESSAGE 未解析 bundle org.eclipse.jdt.junit_3.7.200.v20130514-0733 [203]。 !SUBENTRY 2 org.eclipse.jdt.junit 2 0 2014-05-26 16:34:15.316 !MESSAGE 缺少必需的 bundle org.eclipse.ui.ide_[3.5.0,4.0.0)。 !SUBENTRY 2 org.eclipse.jdt.junit 2 0 2014-05-26 16:34:15.316 !MESSAGE 缺少必需的 bundle org.eclipse.ui.views_[3.3.100,4.0.0)。 !SUBENTRY 2 org.eclipse.jdt.junit 2 0 2014-05-26 16:34:15.317 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench.texteditor_[3.5.0,4.0.0)。 !SUBENTRY 2 org.eclipse.jdt.junit 2 0 2014-05-26 16:34:15.317 !MESSAGE 缺少必需的 bundle org.eclipse.ui.editors_[3.5.0,4.0.0)。 !SUBENTRY 2 org.eclipse.jdt.junit 2 0 2014-05-26 16:34:15.317 !MESSAGE 缺少必需的 bundle org.eclipse.ui_[3.5.0,4.0.0)。 !SUBENTRY 2 org.eclipse.jdt.junit 2 0 2014-05-26 16:34:15.317 !MESSAGE 缺少必需的 bundle org.eclipse.debug.ui_[3.5.0,4.0.0)。 !SUBENTRY 2 org.eclipse.jdt.junit 2 0 2014-05-26 16:34:15.317 !MESSAGE 缺少必需的 bundle org.eclipse.jdt.ui_[3.5.0,4.0.0)。 !SUBENTRY 2 org.eclipse.jdt.junit 2 0 2014-05-26 16:34:15.317 !MESSAGE 缺少必需的 bundle org.eclipse.jdt.debug.ui_[3.3.0,4.0.0)。 !SUBENTRY 2 org.eclipse.jdt.junit 2 0 2014-05-26 16:34:15.317 !MESSAGE 缺少必需的 bundle org.eclipse.compare_[3.5.0,4.0.0)。 !SUBENTRY 2 org.eclipse.jdt.junit 2 0 2014-05-26 16:34:15.317 !MESSAGE 缺少必需的 bundle org.eclipse.ltk.ui.refactoring_[3.5.0,4.0.0)。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.317 !MESSAGE 未解析 bundle org.eclipse.jdt.ui_3.9.0.v20130605-1748 [208]。 !SUBENTRY 2 org.eclipse.jdt.ui 2 0 2014-05-26 16:34:15.317 !MESSAGE 缺少必需的 bundle org.eclipse.search_[3.7.0,4.0.0)。 !SUBENTRY 2 org.eclipse.jdt.ui 2 0 2014-05-26 16:34:15.317 !MESSAGE 缺少必需的 bundle org.eclipse.debug.ui_[3.5.0,4.0.0)。 !SUBENTRY 2 org.eclipse.jdt.ui 2 0 2014-05-26 16:34:15.317 !MESSAGE 缺少必需的 bundle org.eclipse.compare_[3.5.0,4.0.0)。 !SUBENTRY 2 org.eclipse.jdt.ui 2 0 2014-05-26 16:34:15.317 !MESSAGE 缺少必需的 bundle org.eclipse.team.ui_[3.4.100,4.0.0)。 !SUBENTRY 2 org.eclipse.jdt.ui 2 0 2014-05-26 16:34:15.317 !MESSAGE 缺少必需的 bundle org.eclipse.ui_[3.5.0,4.0.0)。 !SUBENTRY 2 org.eclipse.jdt.ui 2 0 2014-05-26 16:34:15.317 !MESSAGE 缺少必需的 bundle org.eclipse.ui.console_[3.4.0,4.0.0)。 !SUBENTRY 2 org.eclipse.jdt.ui 2 0 2014-05-26 16:34:15.317 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench.texteditor_[3.8.0,4.0.0)。 !SUBENTRY 2 org.eclipse.jdt.ui 2 0 2014-05-26 16:34:15.317 !MESSAGE 缺少必需的 bundle org.eclipse.ui.ide_[3.5.0,4.0.0)。 !SUBENTRY 2 org.eclipse.jdt.ui 2 0 2014-05-26 16:34:15.317 !MESSAGE 缺少必需的 bundle org.eclipse.ui.views_[3.3.100,4.0.0)。 !SUBENTRY 2 org.eclipse.jdt.ui 2 0 2014-05-26 16:34:15.317 !MESSAGE 缺少必需的 bundle org.eclipse.ui.editors_[3.5.0,4.0.0)。 !SUBENTRY 2 org.eclipse.jdt.ui 2 0 2014-05-26 16:34:15.317 !MESSAGE 缺少必需的 bundle org.eclipse.ltk.ui.refactoring_[3.5.0,4.0.0)。 !SUBENTRY 2 org.eclipse.jdt.ui 2 0 2014-05-26 16:34:15.317 !MESSAGE 缺少必需的 bundle org.eclipse.ui.navigator_[3.3.200,4.0.0)。 !SUBENTRY 2 org.eclipse.jdt.ui 2 0 2014-05-26 16:34:15.317 !MESSAGE 缺少必需的 bundle org.eclipse.ui.navigator.resources_[3.4.0,4.0.0)。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.317 !MESSAGE 未解析 bundle org.eclipse.jsch.ui_1.1.400.v20111007-1310 [224]。 !SUBENTRY 2 org.eclipse.jsch.ui 2 0 2014-05-26 16:34:15.317 !MESSAGE 缺少必需的 bundle org.eclipse.ui_0.0.0。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.317 !MESSAGE 未解析 bundle org.eclipse.ltk.ui.refactoring_3.7.100.v20130605-1748 [226]。 !SUBENTRY 2 org.eclipse.ltk.ui.refactoring 2 0 2014-05-26 16:34:15.317 !MESSAGE 缺少必需的 bundle org.eclipse.ui_[3.5.0,4.0.0)。 !SUBENTRY 2 org.eclipse.ltk.ui.refactoring 2 0 2014-05-26 16:34:15.317 !MESSAGE 缺少必需的 bundle org.eclipse.ui.navigator_[3.3.200,4.0.0)。 !SUBENTRY 2 org.eclipse.ltk.ui.refactoring 2 0 2014-05-26 16:34:15.321 !MESSAGE 缺少必需的 bundle org.eclipse.compare_[3.5.0,4.0.0)。 !SUBENTRY 2 org.eclipse.ltk.ui.refactoring 2 0 2014-05-26 16:34:15.321 !MESSAGE 缺少必需的 bundle org.eclipse.team.ui_[3.4.100,4.0.0)。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.321 !MESSAGE 未解析 bundle org.eclipse.m2e.core.ui_1.4.0.20130601-0317 [229]。 !SUBENTRY 2 org.eclipse.m2e.core.ui 2 0 2014-05-26 16:34:15.321 !MESSAGE 缺少必需的 bundle org.eclipse.ui.console_3.4.0。 !SUBENTRY 2 org.eclipse.m2e.core.ui 2 0 2014-05-26 16:34:15.321 !MESSAGE 缺少必需的 bundle org.eclipse.ui.ide_3.5.2。 !SUBENTRY 2 org.eclipse.m2e.core.ui 2 0 2014-05-26 16:34:15.321 !MESSAGE 缺少必需的 bundle org.eclipse.ui_0.0.0。 !SUBENTRY 2 org.eclipse.m2e.core.ui 2 0 2014-05-26 16:34:15.321 !MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.6))(&(osgi.ee=JavaSE)(version=1.7)))". !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.321 !MESSAGE 未解析 bundle org.eclipse.m2e.discovery_1.4.0.20130601-0317 [230]。 !SUBENTRY 2 org.eclipse.m2e.discovery 2 0 2014-05-26 16:34:15.321 !MESSAGE 缺少必需的 bundle org.eclipse.equinox.p2.ui.discovery_0.0.0。 !SUBENTRY 2 org.eclipse.m2e.discovery 2 0 2014-05-26 16:34:15.321 !MESSAGE 缺少必需的 bundle org.eclipse.ui_0.0.0。 !SUBENTRY 2 org.eclipse.m2e.discovery 2 0 2014-05-26 16:34:15.321 !MESSAGE 缺少必需的 bundle org.eclipse.ui.ide_0.0.0。 !SUBENTRY 2 org.eclipse.m2e.discovery 2 0 2014-05-26 16:34:15.321 !MESSAGE 缺少必需的 bundle org.eclipse.m2e.core.ui_[1.4.0,1.5.0)。 !SUBENTRY 2 org.eclipse.m2e.discovery 2 0 2014-05-26 16:34:15.321 !MESSAGE 缺少必需的 bundle org.eclipse.equinox.p2.ui_0.0.0。 !SUBENTRY 2 org.eclipse.m2e.discovery 2 0 2014-05-26 16:34:15.321 !MESSAGE 缺少已导入包 org.eclipse.equinox.internal.p2.ui_0.0.0。 !SUBENTRY 2 org.eclipse.m2e.discovery 2 0 2014-05-26 16:34:15.321 !MESSAGE 缺少已导入包 org.eclipse.equinox.internal.p2.ui.dialogs_0.0.0。 !SUBENTRY 2 org.eclipse.m2e.discovery 2 0 2014-05-26 16:34:15.321 !MESSAGE 缺少已导入包 org.eclipse.equinox.internal.p2.ui.model_0.0.0。 !SUBENTRY 2 org.eclipse.m2e.discovery 2 0 2014-05-26 16:34:15.321 !MESSAGE 缺少已导入包 org.eclipse.equinox.p2.ui_0.0.0。 !SUBENTRY 2 org.eclipse.m2e.discovery 2 0 2014-05-26 16:34:15.321 !MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.6))(&(osgi.ee=JavaSE)(version=1.7)))". !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.321 !MESSAGE 未解析 bundle org.eclipse.m2e.editor_1.4.0.20130601-0317 [231]。 !SUBENTRY 2 org.eclipse.m2e.editor 2 0 2014-05-26 16:34:15.321 !MESSAGE 缺少必需的 bundle org.eclipse.search_0.0.0。 !SUBENTRY 2 org.eclipse.m2e.editor 2 0 2014-05-26 16:34:15.321 !MESSAGE 缺少必需的 bundle org.eclipse.ui.ide_0.0.0。 !SUBENTRY 2 org.eclipse.m2e.editor 2 0 2014-05-26 16:34:15.321 !MESSAGE 缺少必需的 bundle org.eclipse.wst.sse.ui_0.0.0。 !SUBENTRY 2 org.eclipse.m2e.editor 2 0 2014-05-26 16:34:15.321 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench_0.0.0。 !SUBENTRY 2 org.eclipse.m2e.editor 2 0 2014-05-26 16:34:15.321 !MESSAGE 缺少必需的 bundle org.eclipse.m2e.editor.xml_[1.4.0,1.5.0)。 !SUBENTRY 2 org.eclipse.m2e.editor 2 0 2014-05-26 16:34:15.321 !MESSAGE 缺少必需的 bundle org.eclipse.m2e.core.ui_[1.4.0,1.5.0)。 !SUBENTRY 2 org.eclipse.m2e.editor 2 0 2014-05-26 16:34:15.321 !MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.6))(&(osgi.ee=JavaSE)(version=1.7)))". !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.321 !MESSAGE 未解析 bundle org.eclipse.m2e.editor.xml_1.4.0.20130601-0317 [232]。 !SUBENTRY 2 org.eclipse.m2e.editor.xml 2 0 2014-05-26 16:34:15.321 !MESSAGE 缺少必需的 bundle org.eclipse.ui_0.0.0。 !SUBENTRY 2 org.eclipse.m2e.editor.xml 2 0 2014-05-26 16:34:15.321 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench.texteditor_0.0.0。 !SUBENTRY 2 org.eclipse.m2e.editor.xml 2 0 2014-05-26 16:34:15.321 !MESSAGE 缺少必需的 bundle org.eclipse.wst.xml.ui_0.0.0。 !SUBENTRY 2 org.eclipse.m2e.editor.xml 2 0 2014-05-26 16:34:15.321 !MESSAGE 缺少必需的 bundle org.eclipse.wst.sse.ui_0.0.0。 !SUBENTRY 2 org.eclipse.m2e.editor.xml 2 0 2014-05-26 16:34:15.321 !MESSAGE 缺少必需的 bundle org.eclipse.ui.ide_0.0.0。 !SUBENTRY 2 org.eclipse.m2e.editor.xml 2 0 2014-05-26 16:34:15.321 !MESSAGE 缺少必需的 bundle org.eclipse.m2e.core.ui_[1.4.0,1.5.0)。 !SUBENTRY 2 org.eclipse.m2e.editor.xml 2 0 2014-05-26 16:34:15.321 !MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.6))(&(osgi.ee=JavaSE)(version=1.7)))". !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.321 !MESSAGE 未解析 bundle org.eclipse.m2e.jdt_1.4.0.20130601-0317 [233]。 !SUBENTRY 2 org.eclipse.m2e.jdt 2 0 2014-05-26 16:34:15.321 !MESSAGE 缺少必需的 bundle org.eclipse.jdt.ui_0.0.0。 !SUBENTRY 2 org.eclipse.m2e.jdt 2 0 2014-05-26 16:34:15.321 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench_0.0.0。 !SUBENTRY 2 org.eclipse.m2e.jdt 2 0 2014-05-26 16:34:15.322 !MESSAGE 缺少必需的 bundle org.eclipse.m2e.core.ui_[1.4.0,1.5.0)。 !SUBENTRY 2 org.eclipse.m2e.jdt 2 0 2014-05-26 16:34:15.322 !MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.6))(&(osgi.ee=JavaSE)(version=1.7)))". !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.322 !MESSAGE 未解析 bundle org.eclipse.m2e.launching_1.4.0.20130601-0317 [234]。 !SUBENTRY 2 org.eclipse.m2e.launching 2 0 2014-05-26 16:34:15.322 !MESSAGE 缺少必需的 bundle org.eclipse.ui.externaltools_0.0.0。 !SUBENTRY 2 org.eclipse.m2e.launching 2 0 2014-05-26 16:34:15.322 !MESSAGE 缺少必需的 bundle org.eclipse.ui.console_0.0.0。 !SUBENTRY 2 org.eclipse.m2e.launching 2 0 2014-05-26 16:34:15.322 !MESSAGE 缺少必需的 bundle org.eclipse.ui.editors_0.0.0。 !SUBENTRY 2 org.eclipse.m2e.launching 2 0 2014-05-26 16:34:15.322 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench_0.0.0。 !SUBENTRY 2 org.eclipse.m2e.launching 2 0 2014-05-26 16:34:15.322 !MESSAGE 缺少必需的 bundle org.eclipse.ui.ide_0.0.0。 !SUBENTRY 2 org.eclipse.m2e.launching 2 0 2014-05-26 16:34:15.322 !MESSAGE 缺少必需的 bundle org.eclipse.debug.ui_0.0.0。 !SUBENTRY 2 org.eclipse.m2e.launching 2 0 2014-05-26 16:34:15.322 !MESSAGE 缺少必需的 bundle org.eclipse.jdt.debug.ui_0.0.0。 !SUBENTRY 2 org.eclipse.m2e.launching 2 0 2014-05-26 16:34:15.322 !MESSAGE 缺少必需的 bundle org.eclipse.m2e.core.ui_[1.4.0,1.5.0)。 !SUBENTRY 2 org.eclipse.m2e.launching 2 0 2014-05-26 16:34:15.322 !MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.6))(&(osgi.ee=JavaSE)(version=1.7)))". !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.322 !MESSAGE 未解析 bundle org.eclipse.m2e.lifecyclemapping.defaults_1.4.0.20130601-0317 [235]。 !SUBENTRY 2 org.eclipse.m2e.lifecyclemapping.defaults 2 0 2014-05-26 16:34:15.322 !MESSAGE 缺少必需的 bundle org.eclipse.m2e.jdt_[1.4.0,1.5.0)。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.322 !MESSAGE 未解析 bundle org.eclipse.m2e.logback.appender_1.4.0.20130601-0317 [236]。 !SUBENTRY 2 org.eclipse.m2e.logback.appender 2 0 2014-05-26 16:34:15.322 !MESSAGE 缺少必需的 bundle org.eclipse.ui.console_0.0.0。 !SUBENTRY 2 org.eclipse.m2e.logback.appender 2 0 2014-05-26 16:34:15.322 !MESSAGE 缺少必需的 bundle org.eclipse.m2e.core.ui_[1.4.0,1.5.0)。 !SUBENTRY 2 org.eclipse.m2e.logback.appender 2 0 2014-05-26 16:34:15.322 !MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.6))(&(osgi.ee=JavaSE)(version=1.7)))". !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.322 !MESSAGE 未解析 bundle org.eclipse.m2e.refactoring_1.4.0.20130601-0317 [241]。 !SUBENTRY 2 org.eclipse.m2e.refactoring 2 0 2014-05-26 16:34:15.322 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench_0.0.0。 !SUBENTRY 2 org.eclipse.m2e.refactoring 2 0 2014-05-26 16:34:15.322 !MESSAGE 缺少必需的 bundle org.eclipse.jdt.ui_0.0.0。 !SUBENTRY 2 org.eclipse.m2e.refactoring 2 0 2014-05-26 16:34:15.322 !MESSAGE 缺少必需的 bundle org.eclipse.compare_0.0.0。 !SUBENTRY 2 org.eclipse.m2e.refactoring 2 0 2014-05-26 16:34:15.323 !MESSAGE 缺少必需的 bundle org.eclipse.ui.ide_0.0.0。 !SUBENTRY 2 org.eclipse.m2e.refactoring 2 0 2014-05-26 16:34:15.323 !MESSAGE 缺少必需的 bundle org.eclipse.ltk.ui.refactoring_0.0.0。 !SUBENTRY 2 org.eclipse.m2e.refactoring 2 0 2014-05-26 16:34:15.323 !MESSAGE 缺少必需的 bundle org.eclipse.m2e.core.ui_[1.4.0,1.5.0)。 !SUBENTRY 2 org.eclipse.m2e.refactoring 2 0 2014-05-26 16:34:15.323 !MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.6))(&(osgi.ee=JavaSE)(version=1.7)))". !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.323 !MESSAGE 未解析 bundle org.eclipse.m2e.scm_1.4.0.20130601-0317 [242]。 !SUBENTRY 2 org.eclipse.m2e.scm 2 0 2014-05-26 16:34:15.323 !MESSAGE 缺少必需的 bundle org.eclipse.m2e.core.ui_[1.4.0,1.5.0)。 !SUBENTRY 2 org.eclipse.m2e.scm 2 0 2014-05-26 16:34:15.323 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench_3.5.2。 !SUBENTRY 2 org.eclipse.m2e.scm 2 0 2014-05-26 16:34:15.323 !MESSAGE 缺少必需的 bundle org.eclipse.ui.ide_3.5.1。 !SUBENTRY 2 org.eclipse.m2e.scm 2 0 2014-05-26 16:34:15.323 !MESSAGE Missing required capability Require-Capability: osgi.ee; filter="(|(&(osgi.ee=JavaSE)(version=1.6))(&(osgi.ee=JavaSE)(version=1.7)))". !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.323 !MESSAGE 未解析 bundle org.eclipse.mylyn.bugzilla.ui_3.9.0.v20130612-0100 [245]。 !SUBENTRY 2 org.eclipse.mylyn.bugzilla.ui 2 0 2014-05-26 16:34:15.323 !MESSAGE 缺少必需的 bundle org.eclipse.ui_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.bugzilla.ui 2 0 2014-05-26 16:34:15.323 !MESSAGE 缺少必需的 bundle org.eclipse.compare_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.bugzilla.ui 2 0 2014-05-26 16:34:15.323 !MESSAGE 缺少必需的 bundle org.eclipse.ui.views_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.bugzilla.ui 2 0 2014-05-26 16:34:15.323 !MESSAGE 缺少必需的 bundle org.eclipse.ui.editors_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.bugzilla.ui 2 0 2014-05-26 16:34:15.323 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench.texteditor_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.bugzilla.ui 2 0 2014-05-26 16:34:15.323 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.tasks.ui_[3.8.0,4.0.0)。 !SUBENTRY 2 org.eclipse.mylyn.bugzilla.ui 2 0 2014-05-26 16:34:15.323 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.commons.ui_[3.8.0,4.0.0)。 !SUBENTRY 2 org.eclipse.mylyn.bugzilla.ui 2 0 2014-05-26 16:34:15.323 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.commons.workbench_[3.8.0,4.0.0)。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.323 !MESSAGE 未解析 bundle org.eclipse.mylyn.builds.ui_1.1.0.v20130612-0100 [247]。 !SUBENTRY 2 org.eclipse.mylyn.builds.ui 2 0 2014-05-26 16:34:15.323 !MESSAGE 缺少必需的 bundle org.eclipse.ui_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.builds.ui 2 0 2014-05-26 16:34:15.323 !MESSAGE 缺少可选的必需 bundle org.eclipse.ui.console_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.builds.ui 2 0 2014-05-26 16:34:15.323 !MESSAGE 缺少必需的 bundle org.eclipse.ui.navigator_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.builds.ui 2 0 2014-05-26 16:34:15.323 !MESSAGE 缺少可选的必需 bundle org.eclipse.jdt.debug.ui_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.builds.ui 2 0 2014-05-26 16:34:15.323 !MESSAGE 缺少可选的必需 bundle org.eclipse.jdt.junit_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.builds.ui 2 0 2014-05-26 16:34:15.323 !MESSAGE 缺少可选的必需 bundle org.eclipse.jdt.ui_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.builds.ui 2 0 2014-05-26 16:34:15.323 !MESSAGE 缺少必需的 bundle org.eclipse.team.ui_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.builds.ui 2 0 2014-05-26 16:34:15.323 !MESSAGE 缺少必需的 bundle org.eclipse.compare_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.builds.ui 2 0 2014-05-26 16:34:15.323 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.commons.notifications.ui_1.0.0。 !SUBENTRY 2 org.eclipse.mylyn.builds.ui 2 0 2014-05-26 16:34:15.323 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.commons.repositories.ui_1.0.0。 !SUBENTRY 2 org.eclipse.mylyn.builds.ui 2 0 2014-05-26 16:34:15.323 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.commons.ui_3.8.0。 !SUBENTRY 2 org.eclipse.mylyn.builds.ui 2 0 2014-05-26 16:34:15.323 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.commons.workbench_3.8.0。 !SUBENTRY 2 org.eclipse.mylyn.builds.ui 2 0 2014-05-26 16:34:15.323 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.tasks.ui_3.8.0。 !SUBENTRY 2 org.eclipse.mylyn.builds.ui 2 0 2014-05-26 16:34:15.323 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.team.ui_3.8.0。 !SUBENTRY 2 org.eclipse.mylyn.builds.ui 2 0 2014-05-26 16:34:15.323 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.versions.ui_1.0.0。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.323 !MESSAGE 未解析 bundle org.eclipse.mylyn.commons.notifications.ui_1.1.0.v20130612-0100 [253]。 !SUBENTRY 2 org.eclipse.mylyn.commons.notifications.ui 2 0 2014-05-26 16:34:15.323 !MESSAGE 缺少必需的 bundle org.eclipse.ui_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.commons.notifications.ui 2 0 2014-05-26 16:34:15.323 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.commons.notifications.ui 2 0 2014-05-26 16:34:15.323 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.commons.ui_3.8.0。 !SUBENTRY 2 org.eclipse.mylyn.commons.notifications.ui 2 0 2014-05-26 16:34:15.323 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.commons.workbench_3.8.0。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.323 !MESSAGE 未解析 bundle org.eclipse.mylyn.commons.repositories.ui_1.1.0.v20130612-0100 [256]。 !SUBENTRY 2 org.eclipse.mylyn.commons.repositories.ui 2 0 2014-05-26 16:34:15.323 !MESSAGE 缺少必需的 bundle org.eclipse.ui_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.commons.repositories.ui 2 0 2014-05-26 16:34:15.324 !MESSAGE 缺少必需的 bundle org.eclipse.ui.navigator_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.commons.repositories.ui 2 0 2014-05-26 16:34:15.324 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.commons.ui_3.8.0。 !SUBENTRY 2 org.eclipse.mylyn.commons.repositories.ui 2 0 2014-05-26 16:34:15.324 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.commons.workbench_3.8.0。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.324 !MESSAGE 未解析 bundle org.eclipse.mylyn.commons.ui_3.9.0.v20130612-0100 [258]。 !SUBENTRY 2 org.eclipse.mylyn.commons.ui 2 0 2014-05-26 16:34:15.324 !MESSAGE 缺少必需的 bundle org.eclipse.ui_0.0.0。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.324 !MESSAGE 未解析 bundle org.eclipse.mylyn.commons.workbench_3.9.0.v20130612-0100 [259]。 !SUBENTRY 2 org.eclipse.mylyn.commons.workbench 2 0 2014-05-26 16:34:15.324 !MESSAGE 缺少必需的 bundle org.eclipse.ui_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.commons.workbench 2 0 2014-05-26 16:34:15.324 !MESSAGE 缺少可选的必需 bundle org.eclipse.ui.browser_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.commons.workbench 2 0 2014-05-26 16:34:15.324 !MESSAGE 缺少可选的必需 bundle org.eclipse.ui.editors_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.commons.workbench 2 0 2014-05-26 16:34:15.324 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.commons.workbench 2 0 2014-05-26 16:34:15.324 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench.texteditor_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.commons.workbench 2 0 2014-05-26 16:34:15.324 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.commons.ui_3.8.0。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.324 !MESSAGE 未解析 bundle org.eclipse.mylyn.context.tasks.ui_3.9.0.v20130612-0100 [262]。 !SUBENTRY 2 org.eclipse.mylyn.context.tasks.ui 2 0 2014-05-26 16:34:15.324 !MESSAGE 缺少必需的 bundle org.eclipse.ui_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.context.tasks.ui 2 0 2014-05-26 16:34:15.324 !MESSAGE 缺少必需的 bundle org.eclipse.ui.navigator_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.context.tasks.ui 2 0 2014-05-26 16:34:15.324 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.commons.ui_[3.8.0,4.0.0)。 !SUBENTRY 2 org.eclipse.mylyn.context.tasks.ui 2 0 2014-05-26 16:34:15.324 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.commons.workbench_[3.8.0,4.0.0)。 !SUBENTRY 2 org.eclipse.mylyn.context.tasks.ui 2 0 2014-05-26 16:34:15.324 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.context.ui_3.8.0。 !SUBENTRY 2 org.eclipse.mylyn.context.tasks.ui 2 0 2014-05-26 16:34:15.324 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.monitor.ui_3.8.0。 !SUBENTRY 2 org.eclipse.mylyn.context.tasks.ui 2 0 2014-05-26 16:34:15.324 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.tasks.ui_3.8.0。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.324 !MESSAGE 未解析 bundle org.eclipse.mylyn.context.ui_3.9.0.v20130612-0100 [263]。 !SUBENTRY 2 org.eclipse.mylyn.context.ui 2 0 2014-05-26 16:34:15.324 !MESSAGE 缺少必需的 bundle org.eclipse.ui_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.context.ui 2 0 2014-05-26 16:34:15.324 !MESSAGE 缺少必需的 bundle org.eclipse.ui.navigator_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.context.ui 2 0 2014-05-26 16:34:15.324 !MESSAGE 缺少必需的 bundle org.eclipse.ui.views_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.context.ui 2 0 2014-05-26 16:34:15.324 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.commons.ui_[3.8.0,4.0.0)。 !SUBENTRY 2 org.eclipse.mylyn.context.ui 2 0 2014-05-26 16:34:15.324 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.commons.workbench_[3.8.0,4.0.0)。 !SUBENTRY 2 org.eclipse.mylyn.context.ui 2 0 2014-05-26 16:34:15.324 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.monitor.ui_[3.8.0,4.0.0)。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.324 !MESSAGE 未解析 bundle org.eclipse.mylyn.debug.ui_3.9.0.v20130612-0100 [264]。 !SUBENTRY 2 org.eclipse.mylyn.debug.ui 2 0 2014-05-26 16:34:15.324 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.context.ui_[3.8.0,4.0.0)。 !SUBENTRY 2 org.eclipse.mylyn.debug.ui 2 0 2014-05-26 16:34:15.324 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.ide.ui_[3.8.0,4.0.0)。 !SUBENTRY 2 org.eclipse.mylyn.debug.ui 2 0 2014-05-26 16:34:15.324 !MESSAGE 缺少必需的 bundle org.eclipse.ui_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.debug.ui 2 0 2014-05-26 16:34:15.325 !MESSAGE 缺少必需的 bundle org.eclipse.debug.ui_0.0.0。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.325 !MESSAGE 未解析 bundle org.eclipse.mylyn.discovery.ui_3.9.0.v20130612-0100 [266]。 !SUBENTRY 2 org.eclipse.mylyn.discovery.ui 2 0 2014-05-26 16:34:15.325 !MESSAGE 缺少必需的 bundle org.eclipse.ui_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.discovery.ui 2 0 2014-05-26 16:34:15.325 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.commons.ui_[3.8.0,4.0.0)。 !SUBENTRY 2 org.eclipse.mylyn.discovery.ui 2 0 2014-05-26 16:34:15.325 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.commons.workbench_[3.8.0,4.0.0)。 !SUBENTRY 2 org.eclipse.mylyn.discovery.ui 2 0 2014-05-26 16:34:15.325 !MESSAGE 缺少可选的必需 bundle org.eclipse.equinox.p2.ui_1.0.4。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.325 !MESSAGE 未解析 bundle org.eclipse.mylyn.gerrit.ui_2.0.0.v20130612-0100 [268]。 !SUBENTRY 2 org.eclipse.mylyn.gerrit.ui 2 0 2014-05-26 16:34:15.325 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.commons.ui_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.gerrit.ui 2 0 2014-05-26 16:34:15.325 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.commons.workbench_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.gerrit.ui 2 0 2014-05-26 16:34:15.325 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.reviews.ui_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.gerrit.ui 2 0 2014-05-26 16:34:15.325 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.tasks.ui_3.8.0。 !SUBENTRY 2 org.eclipse.mylyn.gerrit.ui 2 0 2014-05-26 16:34:15.325 !MESSAGE 缺少必需的 bundle org.eclipse.compare_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.gerrit.ui 2 0 2014-05-26 16:34:15.325 !MESSAGE 缺少必需的 bundle org.eclipse.ui_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.gerrit.ui 2 0 2014-05-26 16:34:15.325 !MESSAGE 缺少必需的 bundle org.eclipse.ui.editors_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.gerrit.ui 2 0 2014-05-26 16:34:15.325 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench.texteditor_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.gerrit.ui 2 0 2014-05-26 16:34:15.325 !MESSAGE 缺少必需的 bundle org.eclipse.egit.ui_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.gerrit.ui 2 0 2014-05-26 16:34:15.325 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.tasks.ui_3.8.0。 !SUBENTRY 2 org.eclipse.mylyn.gerrit.ui 2 0 2014-05-26 16:34:15.325 !MESSAGE 缺少必需的 bundle org.eclipse.ui.navigator_0.0.0。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.325 !MESSAGE 未解析 bundle org.eclipse.mylyn.git.ui_1.1.0.v20130612-0100 [270]。 !SUBENTRY 2 org.eclipse.mylyn.git.ui 2 0 2014-05-26 16:34:15.325 !MESSAGE 缺少必需的 bundle org.eclipse.ui_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.git.ui 2 0 2014-05-26 16:34:15.325 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.versions.ui_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.git.ui 2 0 2014-05-26 16:34:15.325 !MESSAGE 缺少必需的 bundle org.eclipse.egit.ui_0.0.0。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.325 !MESSAGE 未解析 bundle org.eclipse.mylyn.hudson.ui_1.1.0.v20130612-0100 [273]。 !SUBENTRY 2 org.eclipse.mylyn.hudson.ui 2 0 2014-05-26 16:34:15.325 !MESSAGE 缺少必需的 bundle org.eclipse.ui_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.hudson.ui 2 0 2014-05-26 16:34:15.325 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.builds.ui_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.hudson.ui 2 0 2014-05-26 16:34:15.325 !MESSAGE 缺少可选的必需 bundle org.eclipse.ecf.discovery_3.0.0。 !SUBENTRY 2 org.eclipse.mylyn.hudson.ui 2 0 2014-05-26 16:34:15.325 !MESSAGE 缺少可选的必需 bundle org.eclipse.ecf.provider.discovery_2.0.0。 !SUBENTRY 2 org.eclipse.mylyn.hudson.ui 2 0 2014-05-26 16:34:15.325 !MESSAGE 缺少可选的必需 bundle org.eclipse.ecf.provider.jmdns_3.0.0。 !SUBENTRY 2 org.eclipse.mylyn.hudson.ui 2 0 2014-05-26 16:34:15.325 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.commons.notifications.ui_1.0.0。 !SUBENTRY 2 org.eclipse.mylyn.hudson.ui 2 0 2014-05-26 16:34:15.325 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.commons.repositories.ui_1.0.0。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.325 !MESSAGE 未解析 bundle org.eclipse.mylyn.ide.ant_3.9.0.v20130612-0100 [274]。 !SUBENTRY 2 org.eclipse.mylyn.ide.ant 2 0 2014-05-26 16:34:15.325 !MESSAGE 缺少必需的 bundle org.eclipse.ant.ui_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.ide.ant 2 0 2014-05-26 16:34:15.325 !MESSAGE 缺少必需的 bundle org.eclipse.debug.ui_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.ide.ant 2 0 2014-05-26 16:34:15.325 !MESSAGE 缺少必需的 bundle org.eclipse.ui_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.ide.ant 2 0 2014-05-26 16:34:15.325 !MESSAGE 缺少必需的 bundle org.eclipse.ui.editors_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.ide.ant 2 0 2014-05-26 16:34:15.325 !MESSAGE 缺少必需的 bundle org.eclipse.ui.ide_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.ide.ant 2 0 2014-05-26 16:34:15.325 !MESSAGE 缺少必需的 bundle org.eclipse.ui.views_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.ide.ant 2 0 2014-05-26 16:34:15.325 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.commons.ui_[3.8.0,4.0.0)。 !SUBENTRY 2 org.eclipse.mylyn.ide.ant 2 0 2014-05-26 16:34:15.325 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.context.ui_[3.8.0,4.0.0)。 !SUBENTRY 2 org.eclipse.mylyn.ide.ant 2 0 2014-05-26 16:34:15.326 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.monitor.ui_[3.8.0,4.0.0)。 !SUBENTRY 2 org.eclipse.mylyn.ide.ant 2 0 2014-05-26 16:34:15.326 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.ide.ui_[3.8.0,4.0.0)。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.326 !MESSAGE 未解析 bundle org.eclipse.mylyn.ide.ui_3.9.0.v20130612-0100 [275]。 !SUBENTRY 2 org.eclipse.mylyn.ide.ui 2 0 2014-05-26 16:34:15.326 !MESSAGE 缺少必需的 bundle org.eclipse.ui_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.ide.ui 2 0 2014-05-26 16:34:15.326 !MESSAGE 缺少必需的 bundle org.eclipse.ui.navigator_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.ide.ui 2 0 2014-05-26 16:34:15.326 !MESSAGE 缺少必需的 bundle org.eclipse.ui.ide_3.4.0。 !SUBENTRY 2 org.eclipse.mylyn.ide.ui 2 0 2014-05-26 16:34:15.326 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.commons.ui_[3.8.0,4.0.0)。 !SUBENTRY 2 org.eclipse.mylyn.ide.ui 2 0 2014-05-26 16:34:15.326 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.context.ui_[3.8.0,4.0.0)。 !SUBENTRY 2 org.eclipse.mylyn.ide.ui 2 0 2014-05-26 16:34:15.326 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.resources.ui_[3.8.0,4.0.0)。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.326 !MESSAGE 未解析 bundle org.eclipse.mylyn.java.tasks_3.9.0.v20130612-0100 [276]。 !SUBENTRY 2 org.eclipse.mylyn.java.tasks 2 0 2014-05-26 16:34:15.326 !MESSAGE 缺少必需的 bundle org.eclipse.debug.ui_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.java.tasks 2 0 2014-05-26 16:34:15.326 !MESSAGE 缺少必需的 bundle org.eclipse.jdt.debug.ui_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.java.tasks 2 0 2014-05-26 16:34:15.326 !MESSAGE 缺少必需的 bundle org.eclipse.jdt.junit_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.java.tasks 2 0 2014-05-26 16:34:15.326 !MESSAGE 缺少必需的 bundle org.eclipse.ui_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.java.tasks 2 0 2014-05-26 16:34:15.326 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench.texteditor_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.java.tasks 2 0 2014-05-26 16:34:15.326 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.tasks.ui_[3.8.0,4.0.0)。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.326 !MESSAGE 未解析 bundle org.eclipse.mylyn.java.ui_3.9.0.v20130612-0100 [277]。 !SUBENTRY 2 org.eclipse.mylyn.java.ui 2 0 2014-05-26 16:34:15.326 !MESSAGE 缺少必需的 bundle org.eclipse.debug.ui_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.java.ui 2 0 2014-05-26 16:34:15.326 !MESSAGE 缺少必需的 bundle org.eclipse.jdt.debug.ui_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.java.ui 2 0 2014-05-26 16:34:15.326 !MESSAGE 缺少必需的 bundle org.eclipse.jdt.junit_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.java.ui 2 0 2014-05-26 16:34:15.326 !MESSAGE 缺少必需的 bundle org.eclipse.jdt.ui_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.java.ui 2 0 2014-05-26 16:34:15.326 !MESSAGE 缺少必需的 bundle org.eclipse.search_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.java.ui 2 0 2014-05-26 16:34:15.326 !MESSAGE 缺少必需的 bundle org.eclipse.ui_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.java.ui 2 0 2014-05-26 16:34:15.326 !MESSAGE 缺少必需的 bundle org.eclipse.ui.editors_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.java.ui 2 0 2014-05-26 16:34:15.326 !MESSAGE 缺少必需的 bundle org.eclipse.ui.ide_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.java.ui 2 0 2014-05-26 16:34:15.326 !MESSAGE 缺少必需的 bundle org.eclipse.ui.views_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.java.ui 2 0 2014-05-26 16:34:15.326 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench.texteditor_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.java.ui 2 0 2014-05-26 16:34:15.326 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.commons.ui_[3.8.0,4.0.0)。 !SUBENTRY 2 org.eclipse.mylyn.java.ui 2 0 2014-05-26 16:34:15.326 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.context.ui_[3.8.0,4.0.0)。 !SUBENTRY 2 org.eclipse.mylyn.java.ui 2 0 2014-05-26 16:34:15.326 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.monitor.ui_[3.8.0,4.0.0)。 !SUBENTRY 2 org.eclipse.mylyn.java.ui 2 0 2014-05-26 16:34:15.326 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.resources.ui_[3.8.0,4.0.0)。 !SUBENTRY 2 org.eclipse.mylyn.java.ui 2 0 2014-05-26 16:34:15.326 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.ide.ui_[3.8.0,4.0.0)。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.326 !MESSAGE 未解析 bundle org.eclipse.mylyn.monitor.ui_3.9.0.v20130612-0100 [279]。 !SUBENTRY 2 org.eclipse.mylyn.monitor.ui 2 0 2014-05-26 16:34:15.326 !MESSAGE 缺少必需的 bundle org.eclipse.ui_0.0.0。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.326 !MESSAGE 未解析 bundle org.eclipse.mylyn.pde.ui_3.9.0.v20130612-0100 [280]。 !SUBENTRY 2 org.eclipse.mylyn.pde.ui 2 0 2014-05-26 16:34:15.326 !MESSAGE 缺少必需的 bundle org.eclipse.ui_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.pde.ui 2 0 2014-05-26 16:34:15.326 !MESSAGE 缺少必需的 bundle org.eclipse.ui.editors_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.pde.ui 2 0 2014-05-26 16:34:15.326 !MESSAGE 缺少必需的 bundle org.eclipse.ui.ide_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.pde.ui 2 0 2014-05-26 16:34:15.326 !MESSAGE 缺少必需的 bundle org.eclipse.ui.workbench.texteditor_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.pde.ui 2 0 2014-05-26 16:34:15.327 !MESSAGE 缺少必需的 bundle org.eclipse.pde.ui_3.4.0。 !SUBENTRY 2 org.eclipse.mylyn.pde.ui 2 0 2014-05-26 16:34:15.327 !MESSAGE 缺少必需的 bundle org.eclipse.pde.api.tools.ui_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.pde.ui 2 0 2014-05-26 16:34:15.327 !MESSAGE 缺少必需的 bundle org.eclipse.debug.ui_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.pde.ui 2 0 2014-05-26 16:34:15.327 !MESSAGE 缺少必需的 bundle org.eclipse.search_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.pde.ui 2 0 2014-05-26 16:34:15.327 !MESSAGE 缺少必需的 bundle org.eclipse.jdt.debug.ui_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.pde.ui 2 0 2014-05-26 16:34:15.327 !MESSAGE 缺少必需的 bundle org.eclipse.jdt.junit_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.pde.ui 2 0 2014-05-26 16:34:15.327 !MESSAGE 缺少必需的 bundle org.eclipse.jdt.ui_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.pde.ui 2 0 2014-05-26 16:34:15.327 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.commons.ui_[3.8.0,4.0.0)。 !SUBENTRY 2 org.eclipse.mylyn.pde.ui 2 0 2014-05-26 16:34:15.327 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.context.ui_[3.8.0,4.0.0)。 !SUBENTRY 2 org.eclipse.mylyn.pde.ui 2 0 2014-05-26 16:34:15.327 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.ide.ui_[3.8.0,4.0.0)。 !SUBENTRY 2 org.eclipse.mylyn.pde.ui 2 0 2014-05-26 16:34:15.327 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.java.ui_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.pde.ui 2 0 2014-05-26 16:34:15.327 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.java.ui_[3.8.0,4.0.0)。 !SUBENTRY 2 org.eclipse.mylyn.pde.ui 2 0 2014-05-26 16:34:15.327 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.monitor.ui_[3.8.0,4.0.0)。 !SUBENTRY 2 org.eclipse.mylyn.pde.ui 2 0 2014-05-26 16:34:15.327 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.resources.ui_[3.8.0,4.0.0)。 !SUBENTRY 1 org.eclipse.osgi 2 0 2014-05-26 16:34:15.327 !MESSAGE 未解析 bundle org.eclipse.mylyn.resources.ui_3.9.0.v20130612-0100 [281]。 !SUBENTRY 2 org.eclipse.mylyn.resources.ui 2 0 2014-05-26 16:34:15.327 !MESSAGE 缺少必需的 bundle org.eclipse.ui.ide_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.resources.ui 2 0 2014-05-26 16:34:15.327 !MESSAGE 缺少必需的 bundle org.eclipse.ui_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.resources.ui 2 0 2014-05-26 16:34:15.327 !MESSAGE 缺少必需的 bundle org.eclipse.ui.navigator_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.resources.ui 2 0 2014-05-26 16:34:15.327 !MESSAGE 缺少必需的 bundle org.eclipse.compare_0.0.0。 !SUBENTRY 2 org.eclipse.mylyn.resources.ui 2 0 2014-05-26 16:34:15.327 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.commons.ui_[3.8.0,4.0.0)。 !SUBENTRY 2 org.eclipse.mylyn.resources.ui 2 0 2014-05-26 16:34:15.327 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.context.ui_[3.8.0,4.0.0)。 !SUBENTRY 2 org.eclipse.mylyn.resources.ui 2 0 2014-05-26 16:34:15.327 !MESSAGE 缺少必需的 bundle org.eclipse.mylyn.monitor.ui_[3.8.0,4.0.0)。 !SUBENTRY 1 org.eclipse.o
使用quartz的定时任务调
/** * 添加任务 * * @param job * @throws SchedulerException */ public void addJob(ScheduleJob job) throws SchedulerException { if (job == null || !ScheduleJob.STATUS_RUNNING.equals(job.getStatus().toString())) { logger.error("{}添加调度任务失败,job={}", CommonConstants.SystemModul.SCHEDULE, job.toString()); return; } Scheduler scheduler = schedulerFactoryBean.getScheduler(); TriggerKey triggerKey = TriggerKey.triggerKey(job.getName(), job.getJobGroup()); CronTrigger trigger = (CronTrigger) scheduler.getTrigger(triggerKey); // 不存在,创建一个 if (null == trigger) { Class clazz = ScheduleJob.CONCURRENT_IS.equals(job.getIsConcurrent()) ? QuartzJobFactory.class : QuartzJobFactoryDisallowConcurrentExecution.class; JobDetail jobDetail = JobBuilder.newJob(clazz).withIdentity(job.getName(), job.getJobGroup()).build(); jobDetail.getJobDataMap().put("scheduleJob", job); CronScheduleBuilder scheduleBuilder = CronScheduleBuilder.cronSchedule(job.getCronExpression()); trigger = TriggerBuilder.newTrigger().withIdentity(job.getName(), job.getJobGroup()).withSchedule(scheduleBuilder).build(); scheduler.scheduleJob(jobDetail, trigger); } else { // Trigger已存在,那么更新相应的定时设置 CronScheduleBuilder scheduleBuilder = CronScheduleBuilder.cronSchedule(job.getCronExpression()); // 按新的cronExpression表达式重新构建trigger trigger = trigger.getTriggerBuilder().withIdentity(triggerKey).withSchedule(scheduleBuilder).build(); // 按新的trigger重新设置job执行 scheduler.rescheduleJob(triggerKey, trigger); } }
quartz2.1.5 调用 scheduler.start()方法时报异常
quartz2.1.5 调用 scheduler.start()方法时报这样一个异常: 严重: An error occurred while scanning for the next triggers to fire. org.quartz.JobPersistenceException: Couldn't acquire next trigger: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OPTION SQL_SELECT_LIMIT=1' at line 1 [See nested exception: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OPTION SQL_SELECT_LIMIT=1' at line 1] at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTrigger(JobStoreSupport.java:2840) at org.quartz.impl.jdbcjobstore.JobStoreSupport$41.execute(JobStoreSupport.java:2755) at org.quartz.impl.jdbcjobstore.JobStoreSupport.executeInNonManagedTXLock(JobStoreSupport.java:3811) at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTriggers(JobStoreSupport.java:2751) at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:264) Caused by: com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OPTION SQL_SELECT_LIMIT=1' at line 1 at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:936) at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2870) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1573) at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1665) at com.mysql.jdbc.Connection.execSQL(Connection.java:3170) at com.mysql.jdbc.Connection.execSQL(Connection.java:3099) at com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1248) at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:92) at org.quartz.impl.jdbcjobstore.StdJDBCDelegate.selectTriggerToAcquire(StdJDBCDelegate.java:2571) at org.quartz.impl.jdbcjobstore.JobStoreSupport.acquireNextTrigger(JobStoreSupport.java:2781) ... 4 more 我数据库用的是mysql,quartz.properties配置文件时这样的: org.quartz.scheduler.instanceName: SchedulerName #是否支持远程管理 false:不支持 (服务端) org.quartz.scheduler.rmi.export: false #是否支持远程代理 false:不支持 (客服端) org.quartz.scheduler.rmi.proxy: false #如果你要 Quartz 在调用你的 Job 的 execute 之前启动一个 UserTransaction 的话,设置这个属性为 true 。 #这个事物将在 Job 的 execute 方法完成和 JobDataMap (假如是一个 StatefulJob ) 更新后提交。默认值为 false 。 org.quartz.scheduler.wrapJobExecutionInUserTransaction: false #默认线程池类 org.quartz.threadPool.class: org.quartz.simpl.SimpleThreadPool #最多只能有50个线程并发 org.quartz.threadPool.threadCount: 50 #线程优先级别 org.quartz.threadPool.threadPriority: 5 #指定由石英产生的线程将继承范围内的初始化线程的ClassLoader(线程初始化石英实例)。 org.quartz.threadPool.threadsInheritContextClassLoaderOfInitializingThread: true #线程之间错开后允许间隔时间 毫秒为单位 如果超过这个时间 下一个线程不执行 反之 执行 org.quartz.jobStore.misfireThreshold: 60000 ##所有的Quartz数据,例如Job和Trigger的细节信息被存储在内存中。 数据库:org.quartz.impl.jdbcjobstore.JobStoreTX:内存:org.quartz.simpl.RAMJobStore org.quartz.jobStore.class: org.quartz.impl.jdbcjobstore.JobStoreTX #根据选择的数据库类型不同而不同 PostgreSQLDelegate(mysql) org.quartz.jobStore.driverDelegateClass = org.quartz.impl.jdbcjobstore.PostgreSQLDelegate #org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.HSQLDBDelegate #org.quartz.jobStore.dataSource = myDS #org.quartz.jobStore.isClustered = false #org.quartz.jobStore.useProperties = true org.quartz.jobStore.tablePrefix = QRTZ_ #isClustered设置为"true"激活集群特性 org.quartz.jobStore.isClustered = false org.quartz.jobStore.maxMisfiresToHandleAtATime=1 请问大神,这是什么原因啊?百度了好久,都没找到具体原因
quartz 集群环境下,停掉一个点,该点下的定时任务不被其他点承接,定时任务不再执行
集群环境下 springboot + quartz,停掉一个点,该点下的定时任务不被其他点承接,定时任务不再执行 两个job类20秒执行一次 0/20 * * * * ? 启动两个,能看到控制台的两个项目分别打印两个定时任务的日志,停掉其中一个项目,日志不变,停掉项目中的任务没有被运行的项目执行,运行的项目还执行原任务 配置文件 ``` #quartz集群配置 # =========================================================================== # Configure Main Scheduler Properties 调度器属性 # =========================================================================== #调度标识名 集群中每一个实例都必须使用相同的名称 org.quartz.scheduler.instanceName=DefaultQuartzScheduler #ID设置为自动获取 每一个必须不同 org.quartz.scheduler.instanceid=AUTO #============================================================================ # Configure ThreadPool #============================================================================ #线程池的实现类(一般使用SimpleThreadPool即可满足几乎所有用户的需求) org.quartz.threadPool.class=org.quartz.simpl.SimpleThreadPool #指定线程数,至少为1(无默认值)(一般设置为1-100直接的整数合适) org.quartz.threadPool.threadCount=10 #设置线程的优先级(最大为java.lang.Thread.MAX_PRIORITY 10,最小为Thread.MIN_PRIORITY 1,默认为5) org.quartz.threadPool.threadPriority=5 #============================================================================ # Configure JobStore #============================================================================ # 信息保存时间 默认值60秒 org.quartz.jobStore.misfireThreshold=60000 #数据保存方式为数据库持久化 org.quartz.jobStore.class=org.quartz.impl.jdbcjobstore.JobStoreTX #数据库代理类,一般org.quartz.impl.jdbcjobstore.StdJDBCDelegate可以满足大部分数据库 org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.StdJDBCDelegate #JobDataMaps是否都为String类型 org.quartz.jobStore.useProperties=false #数据库别名 随便取 org.quartz.jobStore.dataSource=myDS #表的前缀,默认QRTZ_ org.quartz.jobStore.tablePrefix=QRTZ_ #是否加入集群 org.quartz.jobStore.isClustered=true #调度实例失效的检查时间间隔 org.quartz.jobStore.clusterCheckinInterval=15000 ``` ``` @Configuration public class QuartzConfiguration { @Autowired DataSource dataSource; /** * 继承org.springframework.scheduling.quartz.SpringBeanJobFactory 实现任务实例化方式 */ public static class AutowiringSpringBeanJobFactory extends SpringBeanJobFactory implements ApplicationContextAware { private transient AutowireCapableBeanFactory beanFactory; @Override public void setApplicationContext(final ApplicationContext context) { beanFactory = context.getAutowireCapableBeanFactory(); } /** * 将job实例交给spring ioc托管 我们在job实例实现类内可以直接使用spring注入的调用被spring ioc管理的实例 * * @param bundle * @return * @throws Exception */ @Override protected Object createJobInstance(final TriggerFiredBundle bundle) throws Exception { final Object job = super.createJobInstance(bundle); /** * 将job实例交付给spring ioc */ beanFactory.autowireBean(job); return job; } } /** * 配置任务工厂实例 * * @param applicationContext spring上下文实例 * @return */ @Bean public JobFactory jobFactory(ApplicationContext applicationContext) { /** * 采用自定义任务工厂 整合spring实例来完成构建任务 see {@link AutowiringSpringBeanJobFactory} */ AutowiringSpringBeanJobFactory jobFactory = new AutowiringSpringBeanJobFactory(); jobFactory.setApplicationContext(applicationContext); return jobFactory; } /** * 配置任务调度器 使用项目数据源作为quartz数据源 * * @param jobFactory 自定义配置任务工厂 * @return * @throws Exception */ @Bean(destroyMethod = "destroy", autowire = Autowire.NO) public SchedulerFactoryBean schedulerFactoryBean(JobFactory jobFactory) throws Exception { SchedulerFactoryBean schedulerFactoryBean = new SchedulerFactoryBean(); // 将spring管理job自定义工厂交由调度器维护 schedulerFactoryBean.setJobFactory(jobFactory); // 设置覆盖已存在的任务 schedulerFactoryBean.setOverwriteExistingJobs(true); // 项目启动完成后,等待10秒后开始执行调度器初始化 schedulerFactoryBean.setStartupDelay(10); // 设置调度器自动运行 schedulerFactoryBean.setAutoStartup(true); // 设置数据源,使用与项目统一数据源 schedulerFactoryBean.setDataSource(dataSource); // 设置上下文spring bean name schedulerFactoryBean.setApplicationContextSchedulerContextKey("applicationContext"); // 设置配置文件位置 schedulerFactoryBean.setConfigLocation(new ClassPathResource("/application-quartz.properties")); return schedulerFactoryBean; } } ```
hive运行insert语句在on yarn的情况下报错,开启本地模式后就好了,报错如下:
``` hive> insert into test values('B',2); Query ID = root_20191114105642_8cc05952-0497-4eff-893e-af6de8f05c6e Total jobs = 3 Launching Job 1 out of 3 Number of reduce tasks is set to 0 since there's no reduce operator 19/11/14 10:56:43 INFO client.RMProxy: Connecting to ResourceManager at cloudera/37.64.0.71:8032 19/11/14 10:56:43 INFO client.RMProxy: Connecting to ResourceManager at cloudera/37.64.0.71:8032 java.io.IOException: org.apache.hadoop.yarn.exceptions.InvalidResourceRequestException: Invalid resource request! Cannot allocate containers as requested resource is greater than maximum allowed allocation. Requested resource type=[memory-mb], Requested resource=<memory:15360, vCores:8>, maximum allowed allocation=<memory:6557, vCores:8>, please note that maximum allowed allocation is calculated by scheduler based on maximum resource of registered NodeManagers, which might be less than configured maximum allocation=<memory:6557, vCores:8> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerUtils.throwInvalidResourceException(SchedulerUtils.java:478) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerUtils.checkResourceRequestAgainstAvailableResource(SchedulerUtils.java:374) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerUtils.validateResourceRequest(SchedulerUtils.java:302) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerUtils.normalizeAndValidateRequest(SchedulerUtils.java:280) at org.apache.hadoop.yarn.server.resourcemanager.RMAppManager.validateAndCreateResourceRequest(RMAppManager.java:522) at org.apache.hadoop.yarn.server.resourcemanager.RMAppManager.createAndPopulateNewRMApp(RMAppManager.java:377) at org.apache.hadoop.yarn.server.resourcemanager.RMAppManager.submitApplication(RMAppManager.java:318) at org.apache.hadoop.yarn.server.resourcemanager.ClientRMService.submitApplication(ClientRMService.java:633) at org.apache.hadoop.yarn.api.impl.pb.service.ApplicationClientProtocolPBServiceImpl.submitApplication(ApplicationClientProtocolPBServiceImpl.java:267) at org.apache.hadoop.yarn.proto.ApplicationClientProtocol$ApplicationClientProtocolService$2.callBlockingMethod(ApplicationClientProtocol.java:531) at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:523) at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:991) at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:869) at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:815) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1875) at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2675) at org.apache.hadoop.mapred.YARNRunner.submitJob(YARNRunner.java:345) at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:251) at org.apache.hadoop.mapreduce.Job$11.run(Job.java:1570) at org.apache.hadoop.mapreduce.Job$11.run(Job.java:1567) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1875) at org.apache.hadoop.mapreduce.Job.submit(Job.java:1567) at org.apache.hadoop.mapred.JobClient$1.run(JobClient.java:576) at org.apache.hadoop.mapred.JobClient$1.run(JobClient.java:571) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1875) at org.apache.hadoop.mapred.JobClient.submitJobInternal(JobClient.java:571) at org.apache.hadoop.mapred.JobClient.submitJob(JobClient.java:562) at org.apache.hadoop.hive.ql.exec.mr.ExecDriver.execute(ExecDriver.java:444) at org.apache.hadoop.hive.ql.exec.mr.MapRedTask.execute(MapRedTask.java:151) at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:199) at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:97) at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:2200) at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1843) at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1563) at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1339) at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1328) at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:239) at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:187) at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:409) at org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:836) at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:772) at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:699) 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 org.apache.hadoop.util.RunJar.run(RunJar.java:313) at org.apache.hadoop.util.RunJar.main(RunJar.java:227) Caused by: org.apache.hadoop.yarn.exceptions.InvalidResourceRequestException: Invalid resource request! Cannot allocate containers as requested resource is greater than maximum allowed allocation. Requested resource type=[memory-mb], Requested resource=<memory:15360, vCores:8>, maximum allowed allocation=<memory:6557, vCores:8>, please note that maximum allowed allocation is calculated by scheduler based on maximum resource of registered NodeManagers, which might be less than configured maximum allocation=<memory:6557, vCores:8> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerUtils.throwInvalidResourceException(SchedulerUtils.java:478) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerUtils.checkResourceRequestAgainstAvailableResource(SchedulerUtils.java:374) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerUtils.validateResourceRequest(SchedulerUtils.java:302) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerUtils.normalizeAndValidateRequest(SchedulerUtils.java:280) at org.apache.hadoop.yarn.server.resourcemanager.RMAppManager.validateAndCreateResourceRequest(RMAppManager.java:522) at org.apache.hadoop.yarn.server.resourcemanager.RMAppManager.createAndPopulateNewRMApp(RMAppManager.java:377) at org.apache.hadoop.yarn.server.resourcemanager.RMAppManager.submitApplication(RMAppManager.java:318) at org.apache.hadoop.yarn.server.resourcemanager.ClientRMService.submitApplication(ClientRMService.java:633) at org.apache.hadoop.yarn.api.impl.pb.service.ApplicationClientProtocolPBServiceImpl.submitApplication(ApplicationClientProtocolPBServiceImpl.java:267) at org.apache.hadoop.yarn.proto.ApplicationClientProtocol$ApplicationClientProtocolService$2.callBlockingMethod(ApplicationClientProtocol.java:531) at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:523) at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:991) at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:869) at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:815) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1875) at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2675) 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.apache.hadoop.yarn.ipc.RPCUtil.instantiateException(RPCUtil.java:53) at org.apache.hadoop.yarn.ipc.RPCUtil.instantiateYarnException(RPCUtil.java:75) at org.apache.hadoop.yarn.ipc.RPCUtil.unwrapAndThrowException(RPCUtil.java:116) at org.apache.hadoop.yarn.api.impl.pb.client.ApplicationClientProtocolPBClientImpl.submitApplication(ApplicationClientProtocolPBClientImpl.java:284) 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 org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:422) at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeMethod(RetryInvocationHandler.java:165) at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invoke(RetryInvocationHandler.java:157) at org.apache.hadoop.io.retry.RetryInvocationHandler$Call.invokeOnce(RetryInvocationHandler.java:95) at org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:359) at com.sun.proxy.$Proxy43.submitApplication(Unknown Source) at org.apache.hadoop.yarn.client.api.impl.YarnClientImpl.submitApplication(YarnClientImpl.java:290) at org.apache.hadoop.mapred.ResourceMgrDelegate.submitApplication(ResourceMgrDelegate.java:297) at org.apache.hadoop.mapred.YARNRunner.submitJob(YARNRunner.java:330) ... 35 more Caused by: org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.yarn.exceptions.InvalidResourceRequestException): Invalid resource request! Cannot allocate containers as requested resource is greater than maximum allowed allocation. Requested resource type=[memory-mb], Requested resource=<memory:15360, vCores:8>, maximum allowed allocation=<memory:6557, vCores:8>, please note that maximum allowed allocation is calculated by scheduler based on maximum resource of registered NodeManagers, which might be less than configured maximum allocation=<memory:6557, vCores:8> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerUtils.throwInvalidResourceException(SchedulerUtils.java:478) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerUtils.checkResourceRequestAgainstAvailableResource(SchedulerUtils.java:374) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerUtils.validateResourceRequest(SchedulerUtils.java:302) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerUtils.normalizeAndValidateRequest(SchedulerUtils.java:280) at org.apache.hadoop.yarn.server.resourcemanager.RMAppManager.validateAndCreateResourceRequest(RMAppManager.java:522) at org.apache.hadoop.yarn.server.resourcemanager.RMAppManager.createAndPopulateNewRMApp(RMAppManager.java:377) at org.apache.hadoop.yarn.server.resourcemanager.RMAppManager.submitApplication(RMAppManager.java:318) at org.apache.hadoop.yarn.server.resourcemanager.ClientRMService.submitApplication(ClientRMService.java:633) at org.apache.hadoop.yarn.api.impl.pb.service.ApplicationClientProtocolPBServiceImpl.submitApplication(ApplicationClientProtocolPBServiceImpl.java:267) at org.apache.hadoop.yarn.proto.ApplicationClientProtocol$ApplicationClientProtocolService$2.callBlockingMethod(ApplicationClientProtocol.java:531) at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:523) at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:991) at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:869) at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:815) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1875) at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2675) at org.apache.hadoop.ipc.Client.getRpcResponse(Client.java:1499) at org.apache.hadoop.ipc.Client.call(Client.java:1445) at org.apache.hadoop.ipc.Client.call(Client.java:1355) at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:228) at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:116) at com.sun.proxy.$Proxy42.submitApplication(Unknown Source) at org.apache.hadoop.yarn.api.impl.pb.client.ApplicationClientProtocolPBClientImpl.submitApplication(ApplicationClientProtocolPBClientImpl.java:281) ... 48 more Job Submission failed with exception 'java.io.IOException(org.apache.hadoop.yarn.exceptions.InvalidResourceRequestException: Invalid resource request! Cannot allocate containers as requested resource is greater than maximum allowed allocation. Requested resource type=[memory-mb], Requested resource=<memory:15360, vCores:8>, maximum allowed allocation=<memory:6557, vCores:8>, please note that maximum allowed allocation is calculated by scheduler based on maximum resource of registered NodeManagers, which might be less than configured maximum allocation=<memory:6557, vCores:8> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerUtils.throwInvalidResourceException(SchedulerUtils.java:478) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerUtils.checkResourceRequestAgainstAvailableResource(SchedulerUtils.java:374) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerUtils.validateResourceRequest(SchedulerUtils.java:302) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerUtils.normalizeAndValidateRequest(SchedulerUtils.java:280) at org.apache.hadoop.yarn.server.resourcemanager.RMAppManager.validateAndCreateResourceRequest(RMAppManager.java:522) at org.apache.hadoop.yarn.server.resourcemanager.RMAppManager.createAndPopulateNewRMApp(RMAppManager.java:377) at org.apache.hadoop.yarn.server.resourcemanager.RMAppManager.submitApplication(RMAppManager.java:318) at org.apache.hadoop.yarn.server.resourcemanager.ClientRMService.submitApplication(ClientRMService.java:633) at org.apache.hadoop.yarn.api.impl.pb.service.ApplicationClientProtocolPBServiceImpl.submitApplication(ApplicationClientProtocolPBServiceImpl.java:267) at org.apache.hadoop.yarn.proto.ApplicationClientProtocol$ApplicationClientProtocolService$2.callBlockingMethod(ApplicationClientProtocol.java:531) at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:523) at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:991) at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:869) at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:815) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1875) at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2675) )' FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.mr.MapRedTask. org.apache.hadoop.yarn.exceptions.InvalidResourceRequestException: Invalid resource request! Cannot allocate containers as requested resource is greater than maximum allowed allocation. Requested resource type=[memory-mb], Requested resource=<memory:15360, vCores:8>, maximum allowed allocation=<memory:6557, vCores:8>, please note that maximum allowed allocation is calculated by scheduler based on maximum resource of registered NodeManagers, which might be less than configured maximum allocation=<memory:6557, vCores:8> at org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerUtils.throwInvalidResourceException(SchedulerUtils.java:478) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerUtils.checkResourceRequestAgainstAvailableResource(SchedulerUtils.java:374) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerUtils.validateResourceRequest(SchedulerUtils.java:302) at org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerUtils.normalizeAndValidateRequest(SchedulerUtils.java:280) at org.apache.hadoop.yarn.server.resourcemanager.RMAppManager.validateAndCreateResourceRequest(RMAppManager.java:522) at org.apache.hadoop.yarn.server.resourcemanager.RMAppManager.createAndPopulateNewRMApp(RMAppManager.java:377) at org.apache.hadoop.yarn.server.resourcemanager.RMAppManager.submitApplication(RMAppManager.java:318) at org.apache.hadoop.yarn.server.resourcemanager.ClientRMService.submitApplication(ClientRMService.java:633) at org.apache.hadoop.yarn.api.impl.pb.service.ApplicationClientProtocolPBServiceImpl.submitApplication(ApplicationClientProtocolPBServiceImpl.java:267) at org.apache.hadoop.yarn.proto.ApplicationClientProtocol$ApplicationClientProtocolService$2.callBlockingMethod(ApplicationClientProtocol.java:531) at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:523) at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:991) at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:869) at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:815) at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:422) at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1875) at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2675) ``` # 内存最大只有6G,他非要申请15G,这个问题该如何处理, # 求助各位大佬!!!
集成定时任务问题:with resulting trigger instruction code: DO NOTHING
2013-08-15 12:16:57,128 INFO [org.quartz.impl.StdSchedulerFactory] - [Quartz scheduler version: 1.6.0] 2013-08-15 12:16:57,152 INFO [org.quartz.xml.JobSchedulingDataProcessor] - [Parsing XML file: E:\workspaces\workspace_sims\tomcat_crm\bin\config\quartz\quartz_jobs_tmp.xml with systemId: E:\workspaces\workspace_sims\tomcat_crm\bin\config\quartz\quartz_jobs_tmp.xml validating: false validating schema: jar:file:/E:/workspaces/workspace_sims/webapp/WEB-INF/lib/quartz-1.6.0.jar!/org/quartz/xml/job_scheduling_data_1_5.xsd] 2013-08-15 12:16:57,185 INFO [org.quartz.xml.JobSchedulingDataProcessor] - [Scheduling 2 parsed jobs.] 2013-08-15 12:16:57,202 DEBUG [org.quartz.simpl.SimpleJobFactory] - [Producing instance of Job 'JobInitializationPlugin.JobInitializationPlugin_jobInitializer_quartz_jobs_tmp_xml', class=org.quartz.jobs.FileScanJob] 2013-08-15 12:16:57,220 INFO [org.quartz.plugins.history.LoggingTriggerHistoryPlugin] - [Trigger JobInitializationPlugin.JobInitializationPlugin_jobInitializer_quartz_jobs_tmp_xml fired job JobInitializationPlugin.JobInitializationPlugin_jobInitializer_quartz_jobs_tmp_xml at: 12:16:57 08/15/2013] 2013-08-15 12:16:57,221 DEBUG [org.quartz.core.JobRunShell] - [Calling execute on job JobInitializationPlugin.JobInitializationPlugin_jobInitializer_quartz_jobs_tmp_xml] 2013-08-15 12:16:57,221 DEBUG [org.quartz.jobs.FileScanJob] - [File 'E:\workspaces\workspace_sims\tomcat_crm\bin\config\quartz\quartz_jobs_tmp.xml' unchanged.] 2013-08-15 12:16:57,221 INFO [org.quartz.plugins.history.LoggingTriggerHistoryPlugin] - [Trigger JobInitializationPlugin.JobInitializationPlugin_jobInitializer_quartz_jobs_tmp_xml completed firing job JobInitializationPlugin.JobInitializationPlugin_jobInitializer_quartz_jobs_tmp_xml at 12:16:57 08/15/2013 with resulting trigger instruction code: DO NOTHING] 刚开始集成quartz时是可以正常执行的,过一段时间反过来完善时发现无法执行了,请各位指教。
执行指令OpenStack compute service list 出现HTTP(500)
2017-11-08 19:18:52.833 ERROR nova.compute.manager [req-e4abe3b9-f679-41cb-bed6-064ca37a3f7f - - - - -]更新节点controller时发生错误 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager Traceback (most recent call last): 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 6571, in update_available_resource_for_node 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager rt.update_available_resource(context, nodename) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 551, in update_available_resource 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager self._update_available_resource(context, resources) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py", line 271, in inner 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager return f(*args, **kwargs) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 575, in _update_available_resource 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager self._init_compute_node(context, resources) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/compute/resource_tracker.py", line 438, in _init_compute_node 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager self.scheduler_client.update_resource_stats(cn) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 60, in update_resource_stats 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager self.reportclient.update_resource_stats(compute_node) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/__init__.py", line 37, in __run_method 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager return getattr(self.instance, __name)(*args, **kwargs) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 631, in update_resource_stats 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager compute_node.hypervisor_hostname) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 407, in _ensure_resource_provider 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager rp = self._get_resource_provider(uuid) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 55, in wrapper 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager return f(self, *a, **k) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 309, in _get_resource_provider 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager resp = self.get("/resource_providers/%s" % uuid) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/nova/scheduler/client/report.py", line 209, in get 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager endpoint_filter=self.ks_filter, raise_exc=False, **kwargs) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 758, in get 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager return self.request(url, 'GET', **kwargs) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager return wrapped(*args, **kwargs) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 491, in request 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager auth_headers = self.get_auth_headers(auth) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 818, in get_auth_headers 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager return auth.get_headers(self, **kwargs) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneauth1/plugin.py", line 90, in get_headers 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager token = self.get_token(session) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/base.py", line 90, in get_token 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager return self.get_access(session).auth_token 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/base.py", line 136, in get_access 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager self.auth_ref = self.get_auth_ref(session) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/generic/base.py", line 198, in get_auth_ref 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager return self._plugin.get_auth_ref(session, **kwargs) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneauth1/identity/v3/base.py", line 167, in get_auth_ref 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager authenticated=False, log=False, **rkwargs) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 766, in post 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager return self.request(url, 'POST', **kwargs) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/positional/__init__.py", line 101, in inner 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager return wrapped(*args, **kwargs) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager File "/usr/lib/python2.7/site-packages/keystoneauth1/session.py", line 655, in request 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager raise exceptions.from_response(resp, method, url) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager InternalServerError: Internal Server Error (HTTP 500) 2017-11-08 19:18:52.833 1503 ERROR nova.compute.manager
Quartz 定时器动态修改执行时间修改后出现立即执行情况
问题描述: Spring 启动时加载定时器 执行点为 0 0 12 * * ? * 也就是每天12点执行 在11点左右修改为 0 0 14 * * ? * 也就是让它每天14点执行。 在12点多后又重新修改为 0 0 12 * * ? * 此时定时器立即执行了。 想知道是什么原因? 修改定时器的代码如下:job.getJobExpression() 就是传入的修改的执行时间 /** * @Title: modifyJobTime * @Description: 修改任务的执行频率 * @param job * @throws SchedulerException * @throws ParseException * @return void 返回类型 * @throws */ public void modifyJobTime(JobBean job) throws SchedulerException, ParseException { logger.info("进入修改定时任务方法。方法参数:" + job.getJobId()+","+job.getJobName()+","+job.getJobGroupName()+","+job.getJobExpression()); Scheduler scheduler = schedulerFactory.getScheduler(); TriggerKey triggerKey = TriggerKey.triggerKey(String.valueOf(job.getJobId()), job.getJobGroupName()); CronTrigger trigger = (CronTrigger) scheduler.getTrigger(triggerKey); if (trigger != null && !trigger.getCronExpression().equals(job.getJobExpression())) { CronScheduleBuilder scheduleBuilder = CronScheduleBuilder.cronSchedule(job.getJobExpression()); // 按新的cronExpression表达式重新构建trigger trigger = trigger.getTriggerBuilder().withIdentity(triggerKey).withSchedule(scheduleBuilder).build(); // 按新的trigger重新设置job执行 scheduler.rescheduleJob(triggerKey, trigger); } else { logger.error("该任务不存在,jobName:" + job.getJobName() + ", jobGroupName:" + job.getJobGroupName()); } logger.info("离开修改定时任务方法。"); }
Application startup failed
``` 2019-11-14 10:13:09,698 ERROR 9667 --- [ main] o.springframework.boot.SpringApplication : Application startup failed org.springframework.beans.factory.BeanDefinitionStoreException: Failed to process import candidates for configuration class [com.dtdream.eta.web.EGGovUaaWebDubboApplication]; nested exception is org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'shiroAutoConfiguration' for bean class [com.dtdream.eta.web.auth.autoconfigure.ShiroAutoConfiguration] conflicts with existing, non-compatible bean definition of same name and class [com.dtdream.eta.web.uaa.autoconfigure.ShiroAutoConfiguration] at org.springframework.context.annotation.ConfigurationClassParser.processImports(ConfigurationClassParser.java:546) at org.springframework.context.annotation.ConfigurationClassParser.processDeferredImportSelectors(ConfigurationClassParser.java:482) at org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:191) at org.springframework.context.annotation.ConfigurationClassPostProcessor.processConfigBeanDefinitions(ConfigurationClassPostProcessor.java:321) at org.springframework.context.annotation.ConfigurationClassPostProcessor.postProcessBeanDefinitionRegistry(ConfigurationClassPostProcessor.java:243) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanDefinitionRegistryPostProcessors(PostProcessorRegistrationDelegate.java:273) at org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:98) at org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:681) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:523) at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:122) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:369) at org.springframework.boot.SpringApplication.run(SpringApplication.java:313) at com.dtdream.eta.web.EGGovUaaWebDubboApplication.main(EGGovUaaWebDubboApplication.java:57) Caused by: org.springframework.context.annotation.ConflictingBeanDefinitionException: Annotation-specified bean name 'shiroAutoConfiguration' for bean class [com.dtdream.eta.web.auth.autoconfigure.ShiroAutoConfiguration] conflicts with existing, non-compatible bean definition of same name and class [com.dtdream.eta.web.uaa.autoconfigure.ShiroAutoConfiguration] at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.checkCandidate(ClassPathBeanDefinitionScanner.java:320) at org.springframework.context.annotation.ClassPathBeanDefinitionScanner.doScan(ClassPathBeanDefinitionScanner.java:259) at org.springframework.context.annotation.ComponentScanAnnotationParser.parse(ComponentScanAnnotationParser.java:144) at org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:275) at org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:237) at org.springframework.context.annotation.ConfigurationClassParser.processImports(ConfigurationClassParser.java:537) ... 13 common frames omitted Disconnected from the target VM, address: '127.0.0.1:55237', transport: 'socket' Process finished with exit code 1 ``` 附上两个配置文件配置:com.dtdream.eta.web.auth.autoconfigure.ShiroAutoConfiguration package com.dtdream.eta.web.auth.autoconfigure; import com.dtdream.eta.web.auth.cache.JedisCacheManager; import com.dtdream.eta.web.auth.mobile.AppDefaultWebSessionManager; import com.dtdream.eta.web.auth.mobile.AppSessionIdGenerator; import com.dtdream.eta.web.auth.mobile.AppTokenRealm; import com.dtdream.eta.web.auth.mobile.MobileAuthFilter; import com.dtdream.eta.web.auth.shiro.*; import com.dtdream.eta.web.auth.oauth2.OAuth2AuthenticationFilter; import com.dtdream.eta.web.auth.oauth2.OAuth2Realm; import com.dtdream.gamma.account.service.AccountPrivilegeReadService; import com.dtdream.gamma.organization.service.EmployeeReadService; import com.dtdream.gamma.uaa.service.OauthAccessTokenReadService; import com.google.common.base.Strings; import lombok.extern.slf4j.Slf4j; import org.apache.shiro.SecurityUtils; import org.apache.shiro.cache.CacheManager; import org.apache.shiro.codec.Base64; import org.apache.shiro.mgt.RememberMeManager; import org.apache.shiro.mgt.SecurityManager; import org.apache.shiro.realm.AuthorizingRealm; import org.apache.shiro.realm.Realm; import org.apache.shiro.session.mgt.SessionManager; import org.apache.shiro.session.mgt.eis.EnterpriseCacheSessionDAO; import org.apache.shiro.session.mgt.eis.SessionDAO; import org.apache.shiro.session.mgt.eis.SessionIdGenerator; import org.apache.shiro.session.mgt.quartz.QuartzSessionValidationScheduler; import org.apache.shiro.spring.LifecycleBeanPostProcessor; import org.apache.shiro.spring.web.ShiroFilterFactoryBean; import org.apache.shiro.web.filter.authc.AuthenticationFilter; import org.apache.shiro.web.mgt.CookieRememberMeManager; import org.apache.shiro.web.mgt.DefaultWebSecurityManager; import org.apache.shiro.web.servlet.AbstractShiroFilter; import org.apache.shiro.web.servlet.Cookie; import org.apache.shiro.web.servlet.ShiroHttpSession; import org.apache.shiro.web.servlet.SimpleCookie; import org.springframework.beans.BeansException; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.core.Ordered; import org.springframework.core.annotation.Order; import org.springframework.data.redis.core.RedisTemplate; import javax.servlet.Filter; import java.net.URL; import java.util.HashMap; import java.util.List; import java.util.Map; /** * */ @Configuration @Slf4j @Order(Ordered.LOWEST_PRECEDENCE) public class ShiroAutoConfiguration { @Bean @Autowired public CacheManager shiroCacheManager(EtaAuthProperties properties, RedisTemplate redisTemplate){ return new JedisCacheManager(redisTemplate); } @Bean @Autowired public AuthorizingRealm oAuth2Realm(EtaAuthProperties properties, EmployeeReadService employeeReadService, AccountPrivilegeReadService accountPrivilegeReadService, CacheManager cacheManager){ OAuth2Realm oAuth2Realm = new OAuth2Realm(cacheManager.getCache(JedisCacheManager.loginUserName)); oAuth2Realm.setCachingEnabled(true); oAuth2Realm.setAuthenticationCachingEnabled(true); oAuth2Realm.setAuthenticationCacheName(JedisCacheManager.authenticationName); oAuth2Realm.setAuthorizationCachingEnabled(true); oAuth2Realm.setAuthorizationCacheName(JedisCacheManager.authorizationName); oAuth2Realm.setProperties(properties); oAuth2Realm.setEmployeeReadService(employeeReadService); oAuth2Realm.setAccountPrivilegeReadService(accountPrivilegeReadService); return oAuth2Realm; } @Bean @Autowired public AppTokenRealm appTokenRealm(EtaAuthProperties properties, OauthAccessTokenReadService oauthAccessTokenReadService, EmployeeReadService employeeReadService, AccountPrivilegeReadService accountPrivilegeReadService, CacheManager cacheManager){ AppTokenRealm appTokenRealm = new AppTokenRealm(cacheManager.getCache(JedisCacheManager.loginUserName)); appTokenRealm.setCachingEnabled(true); appTokenRealm.setAuthenticationCachingEnabled(true); appTokenRealm.setAuthenticationCacheName(JedisCacheManager.authenticationName); appTokenRealm.setAuthorizationCachingEnabled(true); appTokenRealm.setAuthorizationCacheName(JedisCacheManager.authorizationName); appTokenRealm.setProperties(properties); appTokenRealm.setEmployeeReadService(employeeReadService); appTokenRealm.setAccountPrivilegeReadService(accountPrivilegeReadService); appTokenRealm.setOauthAccessTokenReadService(oauthAccessTokenReadService); return appTokenRealm; } // @Bean // @Autowired // public AppTokenRealm appTokenRealm(){ // AppTokenRealm appTokenRealm = new AppTokenRealm(); // return appTokenRealm; // } @Bean public SessionIdGenerator sessionIdGenerator(){ return new AppSessionIdGenerator(); } @Bean @Autowired public Cookie sessionIdCookie(EtaAuthProperties properties){ SimpleCookie template = properties.getCookie(); SimpleCookie cookie; if (null == template){ cookie = new SimpleCookie(); cookie.setPath("/"); cookie.setName(ShiroHttpSession.DEFAULT_SESSION_ID_NAME); return cookie; } cookie = new SimpleCookie(template); if (null == cookie.getPath()) cookie.setPath("/"); if (Strings.isNullOrEmpty(cookie.getName())) cookie.setName(ShiroHttpSession.DEFAULT_SESSION_ID_NAME); return cookie; } @Bean public Cookie rememberMeCookie(){ SimpleCookie cookie = new SimpleCookie("rememberMe"); cookie.setHttpOnly(true); cookie.setMaxAge(2592000); return cookie; } @Bean @Autowired @Qualifier("rememberMeCookie") public CookieRememberMeManager rememberMeManager(SimpleCookie rememberMeCookie) throws BeansException { CookieRememberMeManager rememberMeManager = new CookieRememberMeManager(); rememberMeManager.setCipherKey(Base64.decode("4AvVhmFLUs0KTA3Kprsdag==")); rememberMeManager.setCookie(rememberMeCookie); return rememberMeManager; } @Bean @Autowired public SessionDAO sessionDAO(@Qualifier("sessionIdGenerator") SessionIdGenerator sessionIdGenerator, CacheManager cacheManager){ EnterpriseCacheSessionDAO sessionDAO = new EnterpriseCacheSessionDAO(); sessionDAO.setActiveSessionsCacheName(JedisCacheManager.sessionName); sessionDAO.setSessionIdGenerator(sessionIdGenerator); sessionDAO.setCacheManager(cacheManager); return sessionDAO; } @Bean public QuartzSessionValidationScheduler sessionValidationScheduler(){ QuartzSessionValidationScheduler scheduler = new QuartzSessionValidationScheduler(); scheduler.setSessionValidationInterval(10000); //scheduler.setSessionManager((ValidatingSessionManager)applicationContext.getBean("sessionManager")); return scheduler; } @Bean @Autowired public SessionManager sessionManager(QuartzSessionValidationScheduler scheduler, SessionDAO sessionDAO, @Qualifier("sessionIdCookie") Cookie sessionIdCookie){ AppDefaultWebSessionManager sessionManager = new AppDefaultWebSessionManager(); sessionManager.setGlobalSessionTimeout(7200000); sessionManager.setDeleteInvalidSessions(true); sessionManager.setSessionValidationSchedulerEnabled(false); //关闭session检查,否则会乱扫描redis //sessionManager.setSessionValidationScheduler(scheduler); scheduler.setSessionManager(sessionManager); sessionManager.setSessionDAO(sessionDAO); sessionManager.setSessionIdCookieEnabled(true); sessionManager.setSessionIdCookie(sessionIdCookie); return sessionManager; } @Bean @Autowired public SecurityManager securityManager(List<Realm> realms, SessionManager sessionManager, CacheManager cacheManager, RememberMeManager rememberMeManager){ DefaultWebSecurityManager securityManager = new DefaultWebSecurityManager(); securityManager.setRealms(realms); securityManager.setSessionManager(sessionManager); securityManager.setCacheManager(cacheManager); //securityManager.setRememberMeManager(rememberMeManager); SecurityUtils.setSecurityManager(securityManager); return securityManager; } @Bean @Autowired public AuthenticationFilter oAuth2AuthenticationFilter(EtaAuthProperties properties){ OAuth2AuthenticationFilter oAuth2AuthenticationFilter = new OAuth2AuthenticationFilter(); oAuth2AuthenticationFilter.setAuthcCodeParam("code"); oAuth2AuthenticationFilter.setFailureUrl("/error"); oAuth2AuthenticationFilter.setProperties(properties); return oAuth2AuthenticationFilter; } @Bean @Autowired public Filter shiroFilter(SecurityManager securityManager, @Qualifier("oAuth2AuthenticationFilter") AuthenticationFilter oath2Filter, EtaAuthProperties properties, EtaAuthFilter authFilter, MobileAuthFilter mobileAuthFilter, CurrentUserEnvFilter userEnvFilter, EtaEgFilter etaEgFilter) throws Exception{ ShiroFilterFactoryBean filterFactoryBean = new ShiroFilterFactoryBean(); filterFactoryBean.setSecurityManager(securityManager); filterFactoryBean.setLoginUrl(null); filterFactoryBean.setSuccessUrl("/"); Map<String, Filter> filters = new HashMap<>(); filters.put("oauth2Authc", oath2Filter); filters.put("mobileAuthFilter",mobileAuthFilter); filters.put("userEnv", userEnvFilter); filters.put("etaEgFilter", etaEgFilter); filters.put("perm", authFilter); filterFactoryBean.setFilters(filters); Map<String, String> map = new HashMap<>(); String ssoPath; try { URL url = new URL(properties.getOauth2().sso.loginPath); ssoPath = url.getPath(); }catch (Exception e){ ssoPath = properties.getOauth2().sso.loginPath; } if (properties.off){ map.put("/**", "anon, userEnv"); }else{ map.put("/", "anon"); //这个地方有问题,先放着,放在这里能发现更多问题 map.put("/error", "anon"); map.put(ssoPath, "oauth2Authc"); /*map.put("/logout", "logout"); lout使用自己controller*/ /*为政务提供的需要签名认证的api*/ map.put("/openApi/**", "etaEgFilter"); map.put("/**", "mobileAuthFilter, perm, userEnv"); filterFactoryBean.setFilterChainDefinitionMap(map); } return new EtaWebAuthShiroFilterWrapper((AbstractShiroFilter) filterFactoryBean.getObject()); } @Bean public LifecycleBeanPostProcessor lifecycleBeanPostProcessor(){ return new LifecycleBeanPostProcessor(); } } ``` 另一个:com.dtdream.eta.web.uaa.autoconfigure.ShiroAutoConfiguration ``` package com.dtdream.eta.web.uaa.autoconfigure; import com.dtdream.eta.web.common.ca.realm.CABindingRealm; import com.dtdream.eta.web.common.ca.realm.CARealm; import com.dtdream.eta.web.common.shiro.ShiroFilterWrapper; import com.dtdream.eta.web.uaa.cache.JedisCacheManager; import com.dtdream.eta.web.uaa.filter.LoginFilter; import com.dtdream.eta.web.uaa.realm.*; import com.dtdream.eta.web.uaa.session.UaaWebSessionManager; import com.google.common.base.Strings; import lombok.extern.slf4j.Slf4j; import org.apache.shiro.SecurityUtils; import org.apache.shiro.cache.CacheManager; import org.apache.shiro.codec.Base64; import org.apache.shiro.mgt.RememberMeManager; import org.apache.shiro.mgt.SecurityManager; import org.apache.shiro.realm.Realm; import org.apache.shiro.session.mgt.SessionManager; import org.apache.shiro.session.mgt.eis.EnterpriseCacheSessionDAO; import org.apache.shiro.session.mgt.eis.JavaUuidSessionIdGenerator; import org.apache.shiro.session.mgt.eis.SessionDAO; import org.apache.shiro.session.mgt.eis.SessionIdGenerator; import org.apache.shiro.session.mgt.quartz.QuartzSessionValidationScheduler; import org.apache.shiro.spring.LifecycleBeanPostProcessor; import org.apache.shiro.spring.web.ShiroFilterFactoryBean; import org.apache.shiro.web.mgt.CookieRememberMeManager; import org.apache.shiro.web.mgt.DefaultWebSecurityManager; import org.apache.shiro.web.servlet.AbstractShiroFilter; import org.apache.shiro.web.servlet.Cookie; import org.apache.shiro.web.servlet.ShiroHttpSession; import org.apache.shiro.web.servlet.SimpleCookie; import org.springframework.beans.BeansException; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Qualifier; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.data.redis.core.RedisTemplate; import javax.servlet.Filter; import java.util.HashMap; import java.util.List; import java.util.Map; /** * */ @Configuration @Slf4j public class ShiroAutoConfiguration { @Bean @Autowired public CacheManager cacheManager(EtaUaaProperties properties, RedisTemplate redisTemplate){ return new JedisCacheManager(redisTemplate); } @Bean @Autowired public ShiroRealm shiroRealm(){ ShiroRealm shiroRealm = new ShiroRealm(); return shiroRealm; } @Bean @Autowired public ThirdPartyRealm ThirdPartyRealm(){ ThirdPartyRealm thirdPartyRealm = new ThirdPartyRealm(); return thirdPartyRealm; } @Bean @Autowired public SmsRealm smsRealm() { SmsRealm smsRealm = new SmsRealm(); return smsRealm; } @Bean @Autowired public CARealm caRealm(){ CARealm caRealm = new CARealm(); return caRealm; } @Bean @Autowired public CABindingRealm caBindingRealm(){ CABindingRealm caBindingRealm = new CABindingRealm(); return caBindingRealm; } @Bean public SessionIdGenerator sessionIdGenerator(){ return new JavaUuidSessionIdGenerator(); } @Bean @Autowired public Cookie sessionIdCookie(EtaUaaProperties properties){ SimpleCookie template = properties.getCookie(); SimpleCookie cookie; if (null == template){ cookie = new SimpleCookie(); cookie.setPath("/"); cookie.setName(ShiroHttpSession.DEFAULT_SESSION_ID_NAME); return cookie; } cookie = new SimpleCookie(template); if (null == cookie.getPath()) cookie.setPath("/"); if (Strings.isNullOrEmpty(cookie.getName())) cookie.setName(ShiroHttpSession.DEFAULT_SESSION_ID_NAME); return cookie; } @Bean public Cookie rememberMeCookie(){ SimpleCookie cookie = new SimpleCookie("rememberMe"); cookie.setHttpOnly(true); cookie.setMaxAge(2592000); return cookie; } @Bean @Autowired @Qualifier("rememberMeCookie") public CookieRememberMeManager rememberMeManager(SimpleCookie rememberMeCookie) throws BeansException { CookieRememberMeManager rememberMeManager = new CookieRememberMeManager(); rememberMeManager.setCipherKey(Base64.decode("4AvVhmFLUs0KTA3Kprsdag==")); rememberMeManager.setCookie(rememberMeCookie); return rememberMeManager; } @Bean @Autowired public SessionDAO sessionDAO(@Qualifier("sessionIdGenerator") SessionIdGenerator sessionIdGenerator, CacheManager cacheManager){ EnterpriseCacheSessionDAO sessionDAO = new EnterpriseCacheSessionDAO(); sessionDAO.setActiveSessionsCacheName(JedisCacheManager.sessionName); sessionDAO.setSessionIdGenerator(sessionIdGenerator); sessionDAO.setCacheManager(cacheManager); return sessionDAO; } @Bean public QuartzSessionValidationScheduler sessionValidationScheduler(){ QuartzSessionValidationScheduler scheduler = new QuartzSessionValidationScheduler(); scheduler.setSessionValidationInterval(7200000); //scheduler.setSessionManager((ValidatingSessionManager)applicationContext.getBean("sessionManager")); return scheduler; } @Bean @Autowired public SessionManager sessionManager(QuartzSessionValidationScheduler scheduler, SessionDAO sessionDAO, @Qualifier("sessionIdCookie") Cookie sessionIdCookie){ UaaWebSessionManager sessionManager = new UaaWebSessionManager(); sessionManager.setGlobalSessionTimeout(7200000); sessionManager.setDeleteInvalidSessions(true); sessionManager.setSessionValidationSchedulerEnabled(false); /*sessionManager.setSessionValidationScheduler(scheduler);*/ scheduler.setSessionManager(sessionManager); sessionManager.setSessionDAO(sessionDAO); sessionManager.setSessionIdCookieEnabled(true); sessionManager.setSessionIdCookie(sessionIdCookie); return sessionManager; } @Bean @Autowired public SecurityManager securityManager(List<Realm> realms, SessionManager sessionManager, CacheManager cacheManager, RememberMeManager rememberMeManager){ DefaultWebSecurityManager securityManager = new DefaultWebSecurityManager(); securityManager.setRealms(realms); securityManager.setSessionManager(sessionManager); securityManager.setCacheManager(cacheManager); //securityManager.setRememberMeManager(rememberMeManager); SecurityUtils.setSecurityManager(securityManager); return securityManager; } @Bean @Autowired public Filter shiroFilter(SecurityManager securityManager, EtaUaaProperties properties, LoginFilter loginFilter) throws Exception { ShiroFilterFactoryBean filterFactoryBean = new ShiroFilterFactoryBean(); filterFactoryBean.setSecurityManager(securityManager); filterFactoryBean.setLoginUrl(null); filterFactoryBean.setSuccessUrl("/"); Map<String, Filter> filters = new HashMap<>(); filters.put("loginFilter", loginFilter); filterFactoryBean.setFilters(filters); Map<String, String> map = new HashMap<>(); if (properties.off) { map.put("/**", "anon"); } else { map.put("/login", "loginFilter"); map.put("/iframe/login", "loginFilter"); map.put("/**", "anon"); } filterFactoryBean.setFilterChainDefinitionMap(map); return new ShiroFilterWrapper((AbstractShiroFilter) filterFactoryBean.getObject()); } @Bean public LifecycleBeanPostProcessor lifecycleBeanPostProcessor(){ return new LifecycleBeanPostProcessor(); } } ```
这样的coredump如何定位问题,求大神指导
# 一个服务程序,平均一天挂一次,coredump内容都已一样,分析不出来 ``` c++ Program terminated with signal 11, Segmentation fault. #0 SLL_Next (t=0x2) at src/linked_list.h:45 45 src/linked_list.h: No such file or directory. Missing separate debuginfos, use: debuginfo-install glibc-2.17-260.el7.x86_64 keyutils-libs-1.5.8-3.el7.x86_64 krb5-libs-1.15.1-34.el7.x86_64 libcom_err-1.42.9-13.el7.x86_64 libgcc-4.8.5-36.el7.x86_64 libselinux-2.5-14.1.el7.x86_64 libstdc++-4.8.5-36.el7.x86_64 nspr-4.19.0-1.el7_5.x86_64 nss-3.36.0-7.el7_5.x86_64 openldap-2.4.44-20.el7.x86_64 pcre-8.32-17.el7.x86_64 zlib-1.2.7-18.el7.x86_64 (gdb) bt #0 SLL_Next (t=0x2) at src/linked_list.h:45 #1 SLL_TryPop (rv=<synthetic pointer>, list=0x1f9c080) at src/linked_list.h:69 #2 TryPop (rv=<synthetic pointer>, this=0x1f9c080) at src/thread_cache.h:220 #3 Allocate (cl=4, size=48, this=<optimized out>) at src/thread_cache.h:381 #4 malloc_fast_path<tcmalloc::allocate_full_cpp_throw_oom> (size=<optimized out>) at src/tcmalloc.cc:1751 #5 tc_new (size=<optimized out>) at src/tcmalloc.cc:1851 #6 0x00007fd6bf3bca19 in std::string::_Rep::_S_create(unsigned long, unsigned long, std::allocator<char> const&) () from /lib64/libstdc++.so.6 #7 0x00007fd6c2c3842d in char* std::string::_S_construct<char const*>(char const*, char const*, std::allocator<char> const&, std::forward_iterator_tag) () from ./lib/libcpprest.so.2.10 #8 0x00007fd6bf3be6d8 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&) () from /lib64/libstdc++.so.6 #9 0x000000000069b836 in InformationCommand::Process (this=0x7ec8a38, task=..., response=@0x7fd58890f3f8: 0x0) at src/modules/DataCommand/InformationCommand.cpp:74 #10 0x0000000000724c62 in ThreadPoolGateway::task (this=0x252bda0, task=0x3b792f0) at src/modules/Servers/impl/ThreadPoolGateway.cpp:115 #11 0x0000000000726306 in boost::_mfi::mf1<void, ThreadPoolGateway, HDConstants::TaskDef*>::operator() (this=0x606ac40, p=0x252bda0, a1=0x3b792f0) at /usr/local/include/boost/bind/mem_fn_template.hpp:165 #12 0x00000000007261fd in boost::_bi::list2<boost::_bi::value<ThreadPoolGateway*>, boost::_bi::value<HDConstants::TaskDef*> >::operator()<boost::_mfi::mf1<void, ThreadPoolGateway, HDConstants::TaskDef*>, boost::_bi::list0> (this=0x606ac50, f=..., a=...) at /usr/local/include/boost/bind/bind.hpp:319 #13 0x0000000000725fc5 in boost::_bi::bind_t<void, boost::_mfi::mf1<void, ThreadPoolGateway, HDConstants::TaskDef*>, boost::_bi::list2<boost::_bi::value<ThreadPoolGateway*>, boost::_bi::value<HDConstants::TaskDef*> > >::operator() (this=0x606ac40) at /usr/local/include/boost/bind/bind.hpp:1294 #14 0x0000000000725eea in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf1<void, ThreadPoolGateway, HDConstants::TaskDef*>, boost::_bi::list2<boost::_bi::value<ThreadPoolGateway*>, boost::_bi::value<HDConstants::TaskDef*> > >, void>::invoke (function_obj_ptr=...) at /usr/local/include/boost/function/function_template.hpp:159 #15 0x0000000000660f7e in boost::function0<void>::operator() (this=0x7fd58890fa80) at /usr/local/include/boost/function/function_template.hpp:760 ---Type <return> to continue, or q <return> to quit--- #16 0x000000000067cc94 in boost::threadpool::detail::pool_core<boost::function0<void>, boost::threadpool::fifo_scheduler, boost::threadpool::static_size, boost::threadpool::resize_controller, boost::threadpool::wait_for_all_tasks>::execute_task (this=0x258c180) at /usr/local/include/boost/threadpool/detail/pool_core.hpp:440 #17 0x000000000067bd44 in boost::threadpool::detail::worker_thread<boost::threadpool::detail::pool_core<boost::function0<void>, boost::threadpool::fifo_scheduler, boost::threadpool::static_size, boost::threadpool::resize_controller, boost::threadpool::wait_for_all_tasks> >::run (this=0x25a0150) at /usr/local/include/boost/threadpool/detail/worker_thread.hpp:82 #18 0x000000000067f4ee in boost::_mfi::mf0<void, boost::threadpool::detail::worker_thread<boost::threadpool::detail::pool_core<boost::function0<void>, boost::threadpool::fifo_scheduler, boost::threadpool::static_size, boost::threadpool::resize_controller, boost::threadpool::wait_for_all_tasks> > >::call<boost::shared_ptr<boost::threadpool::detail::worker_thread<boost::threadpool::detail::pool_core<boost::function0<void>, boost::threadpool::fifo_scheduler, boost::threadpool::static_size, boost::threadpool::resize_controller, boost::threadpool::wait_for_all_tasks> > > > (this=0x2571298, u=...) at /usr/local/include/boost/bind/mem_fn_template.hpp:40 #19 0x000000000067f473 in boost::_mfi::mf0<void, boost::threadpool::detail::worker_thread<boost::threadpool::detail::pool_core<boost::function0<void>, boost::threadpool::fifo_scheduler, boost::threadpool::static_size, boost::threadpool::resize_controller, boost::threadpool::wait_for_all_tasks> > >::operator()<boost::shared_ptr<boost::threadpool::detail::worker_thread<boost::threadpool::detail::pool_core<boost::function0<void>, boost::threadpool::fifo_scheduler, boost::threadpool::static_size, boost::threadpool::resize_controller, boost::threadpool::wait_for_all_tasks> > > > (this=0x2571298, u=...) at /usr/local/include/boost/bind/mem_fn_template.hpp:55 #20 0x000000000067f41e in boost::_bi::list1<boost::_bi::value<boost::shared_ptr<boost::threadpool::detail::worker_thread<boost::threadpool::detail::pool_core<boost::function0<void>, boost::threadpool::fifo_scheduler, boost::threadpool::static_size, boost::threadpool::resize_controller, boost::threadpool::wait_for_all_tasks> > > > >::operator()<boost::_mfi::mf0<void, boost::threadpool::detail::worker_thread<boost::threadpool::detail::pool_core<boost::function0<void>, boost::threadpool::fifo_scheduler, boost::threadpool::static_size, boost::threadpool::resize_controller, boost::threadpool::wait_for_all_tasks> > >, boost::_bi::list0> (this=0x25712a8, f=..., a=...) at /usr/local/include/boost/bind/bind.hpp:259 #21 0x000000000067f303 in boost::_bi::bind_t<void, boost::_mfi::mf0<void, boost::threadpool::detail::worker_thread<boost::threadpool::detail::pool_core<boost::function0<void>, boost::threadpool::fifo_scheduler, boost::threadpool::static_size, boost::threadpool::resize_controller, boost::threadpool::wait_for_all_tasks> > >, boost::_bi::list1<boost::_bi::value<boost::shared_ptr<boost::threadpool::detail::worker_thread<boost::threadpool::detail::pool_core<boost::function0<void>, boost::threadpool::fifo_scheduler, boost::threadpool::static_size, boost::threadpool::resize_controller, boost::threadpool::wait_for_all_tasks> > > > > >::operator() (this=0x2571298) at /usr/local/include/boost/bind/bind.hpp:1294 #22 0x000000000067f0ee in boost::detail::thread_data<boost::_bi::bind_t<void, boost::_mfi::mf0<void, boost::threadpool::detail::worker_---Type <return> to continue, or q <return> to quit--- thread<boost::threadpool::detail::pool_core<boost::function0<void>, boost::threadpool::fifo_scheduler, boost::threadpool::static_size, boost::threadpool::resize_controller, boost::threadpool::wait_for_all_tasks> > >, boost::_bi::list1<boost::_bi::value<boost::shared_ptr<boost::threadpool::detail::worker_thread<boost::threadpool::detail::pool_core<boost::function0<void>, boost::threadpool::fifo_scheduler, boost::threadpool::static_size, boost::threadpool::resize_controller, boost::threadpool::wait_for_all_tasks> > > > > > >::run ( this=0x25710e0) at /usr/local/include/boost/thread/detail/thread.hpp:116 #23 0x00007fd6bfa826d9 in thread_proxy () from ./lib/libboost_thread.so.1.64.0 #24 0x00007fd6bfeabdd5 in start_thread () from /lib64/libpthread.so.0 #25 0x00007fd6beb17ead in clone () from /lib64/libc.so.6 (gdb) (gdb) (gdb) f 9 #9 0x000000000069b836 in InformationCommand::Process (this=0x7ec8a38, task=..., response=@0x7fd58890f3f8: 0x0) at src/modules/DataCommand/InformationCommand.cpp:74 74 src/modules/DataCommand/InformationCommand.cpp: No such file or directory. (gdb) p task $1 = (const HDConstants::TaskDef &) @0x3b792f0: {data = 0x4537b60, socket = 0x3122000, clientAddr = 3748199939, clientPort = 33385, msgType = (unknown: 0), protocol = 2} (gdb) p task.data.size $2 = 71 (gdb) p serialNum $3 = 4623 (gdb) ``` ![Core源码位置](https://img-ask.csdn.net/upload/201912/05/1575510670_285044.png)
一个百度拇指医生爬虫,想要先实现爬取某个问题的所有链接,但是爬不出来东西。求各位大神帮忙看一下这是为什么?
#写在前面的话 在这个爬虫里我想实现把百度拇指医生里关于“咳嗽”的链接全部爬取下来,下一步要进行的是把爬取到的每个链接里的items里面的内容爬取下来,但是我在第一步就卡住了,求各位大神帮我看一下吧。之前刚刚发了一篇问答,但是不知道怎么回事儿,现在找不到了,(貌似是被删了...?)救救小白吧!感激不尽! 这个是我的爬虫的结构 ![图片说明](https://img-ask.csdn.net/upload/201911/27/1574787999_274479.png) ##ks: ``` # -*- coding: utf-8 -*- import scrapy from kesou.items import KesouItem from scrapy.selector import Selector from scrapy.spiders import Spider from scrapy.http import Request ,FormRequest import pymongo class KsSpider(scrapy.Spider): name = 'ks' allowed_domains = ['kesou,baidu.com'] start_urls = ['https://www.baidu.com/s?wd=%E5%92%B3%E5%97%BD&pn=0&oq=%E5%92%B3%E5%97%BD&ct=2097152&ie=utf-8&si=muzhi.baidu.com&rsv_pq=980e0c55000e2402&rsv_t=ed3f0i5yeefxTMskgzim00cCUyVujMRnw0Vs4o1%2Bo%2Bohf9rFXJvk%2FSYX%2B1M'] def parse(self, response): item = KesouItem() contents = response.xpath('.//h3[@class="t"]') for content in contents: url = content.xpath('.//a/@href').extract()[0] item['url'] = url yield item if self.offset < 760: self.offset += 10 yield scrapy.Request(url = "https://www.baidu.com/s?wd=%E5%92%B3%E5%97%BD&pn=" + str(self.offset) + "&oq=%E5%92%B3%E5%97%BD&ct=2097152&ie=utf-8&si=muzhi.baidu.com&rsv_pq=980e0c55000e2402&rsv_t=ed3f0i5yeefxTMskgzim00cCUyVujMRnw0Vs4o1%2Bo%2Bohf9rFXJvk%2FSYX%2B1M",callback=self.parse,dont_filter=True) ``` ##items: ``` # -*- coding: utf-8 -*- # Define here the models for your scraped items # # See documentation in: # https://docs.scrapy.org/en/latest/topics/items.html import scrapy class KesouItem(scrapy.Item): # 问题ID question_ID = scrapy.Field() # 问题描述 question = scrapy.Field() # 医生回答发表时间 answer_pubtime = scrapy.Field() # 问题详情 description = scrapy.Field() # 医生姓名 doctor_name = scrapy.Field() # 医生职位 doctor_title = scrapy.Field() # 医生所在医院 hospital = scrapy.Field() ``` ##middlewares: ``` # -*- coding: utf-8 -*- # Define here the models for your spider middleware # # See documentation in: # https://docs.scrapy.org/en/latest/topics/spider-middleware.html from scrapy import signals class KesouSpiderMiddleware(object): # Not all methods need to be defined. If a method is not defined, # scrapy acts as if the spider middleware does not modify the # passed objects. @classmethod def from_crawler(cls, crawler): # This method is used by Scrapy to create your spiders. s = cls() crawler.signals.connect(s.spider_opened, signal=signals.spider_opened) return s def process_spider_input(self, response, spider): # Called for each response that goes through the spider # middleware and into the spider. # Should return None or raise an exception. return None def process_spider_output(self, response, result, spider): # Called with the results returned from the Spider, after # it has processed the response. # Must return an iterable of Request, dict or Item objects. for i in result: yield i def process_spider_exception(self, response, exception, spider): # Called when a spider or process_spider_input() method # (from other spider middleware) raises an exception. # Should return either None or an iterable of Request, dict # or Item objects. pass def process_start_requests(self, start_requests, spider): # Called with the start requests of the spider, and works # similarly to the process_spider_output() method, except # that it doesn’t have a response associated. # Must return only requests (not items). for r in start_requests: yield r def spider_opened(self, spider): spider.logger.info('Spider opened: %s' % spider.name) class KesouDownloaderMiddleware(object): # Not all methods need to be defined. If a method is not defined, # scrapy acts as if the downloader middleware does not modify the # passed objects. @classmethod def from_crawler(cls, crawler): # This method is used by Scrapy to create your spiders. s = cls() crawler.signals.connect(s.spider_opened, signal=signals.spider_opened) return s def process_request(self, request, spider): # Called for each request that goes through the downloader # middleware. # Must either: # - return None: continue processing this request # - or return a Response object # - or return a Request object # - or raise IgnoreRequest: process_exception() methods of # installed downloader middleware will be called return None def process_response(self, request, response, spider): # Called with the response returned from the downloader. # Must either; # - return a Response object # - return a Request object # - or raise IgnoreRequest return response def process_exception(self, request, exception, spider): # Called when a download handler or a process_request() # (from other downloader middleware) raises an exception. # Must either: # - return None: continue processing this exception # - return a Response object: stops process_exception() chain # - return a Request object: stops process_exception() chain pass def spider_opened(self, spider): spider.logger.info('Spider opened: %s' % spider.name) ``` ##piplines: ``` # -*- coding: utf-8 -*- # Define your item pipelines here # # Don't forget to add your pipeline to the ITEM_PIPELINES setting # See: https://docs.scrapy.org/en/latest/topics/item-pipeline.html import pymongo from scrapy.utils.project import get_project_settings settings = get_project_settings() class KesouPipeline(object): def __init__(self): host = settings["MONGODB_HOST"] port = settings["MONGODB_PORT"] dbname = settings["MONGODB_DBNAME"] sheetname= settings["MONGODB_SHEETNAME"] # 创建MONGODB数据库链接 client = pymongo.MongoClient(host = host, port = port) # 指定数据库 mydb = client[dbname] # 存放数据的数据库表名 self.sheet = mydb[sheetname] def process_item(self, item, spider): data = dict(item) self.sheet.insert(data) return item ``` ##settings: ``` # -*- coding: utf-8 -*- # Scrapy settings for kesou project # # For simplicity, this file contains only settings considered important or # commonly used. You can find more settings consulting the documentation: # # https://docs.scrapy.org/en/latest/topics/settings.html # https://docs.scrapy.org/en/latest/topics/downloader-middleware.html # https://docs.scrapy.org/en/latest/topics/spider-middleware.html BOT_NAME = 'kesou' SPIDER_MODULES = ['kesou.spiders'] NEWSPIDER_MODULE = 'kesou.spiders' # Crawl responsibly by identifying yourself (and your website) on the user-agent #USER_AGENT = 'kesou (+http://www.yourdomain.com)' # Obey robots.txt rules ROBOTSTXT_OBEY = False # Configure maximum concurrent requests performed by Scrapy (default: 16) #CONCURRENT_REQUESTS = 32 # Configure a delay for requests for the same website (default: 0) # See https://docs.scrapy.org/en/latest/topics/settings.html#download-delay # See also autothrottle settings and docs #DOWNLOAD_DELAY = 3 # The download delay setting will honor only one of: #CONCURRENT_REQUESTS_PER_DOMAIN = 16 #CONCURRENT_REQUESTS_PER_IP = 16 # Disable cookies (enabled by default) COOKIES_ENABLED = False # Disable Telnet Console (enabled by default) #TELNETCONSOLE_ENABLED = False USER_AGENT="Mozilla/5.0 (Windows NT 10.0; WOW64; rv:67.0) Gecko/20100101 Firefox/67.0" # Override the default request headers: #DEFAULT_REQUEST_HEADERS = { # 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8', # 'Accept-Language': 'en', #} # Enable or disable spider middlewares # See https://docs.scrapy.org/en/latest/topics/spider-middleware.html #SPIDER_MIDDLEWARES = { # 'kesou.middlewares.KesouSpiderMiddleware': 543, #} # Enable or disable downloader middlewares # See https://docs.scrapy.org/en/latest/topics/downloader-middleware.html #DOWNLOADER_MIDDLEWARES = { # 'kesou.middlewares.KesouDownloaderMiddleware': 543, #} # Enable or disable extensions # See https://docs.scrapy.org/en/latest/topics/extensions.html #EXTENSIONS = { # 'scrapy.extensions.telnet.TelnetConsole': None, #} # Configure item pipelines # See https://docs.scrapy.org/en/latest/topics/item-pipeline.html ITEM_PIPELINES = { 'kesou.pipelines.KesouPipeline': 300, } # MONGODB 主机名 MONGODB_HOST = "127.0.0.1" # MONGODB 端口号 MONGODB_PORT = 27017 # 数据库名称 MONGODB_DBNAME = "ks" # 存放数据的表名称 MONGODB_SHEETNAME = "ks_urls" # Enable and configure the AutoThrottle extension (disabled by default) # See https://docs.scrapy.org/en/latest/topics/autothrottle.html #AUTOTHROTTLE_ENABLED = True # The initial download delay #AUTOTHROTTLE_START_DELAY = 5 # The maximum download delay to be set in case of high latencies #AUTOTHROTTLE_MAX_DELAY = 60 # The average number of requests Scrapy should be sending in parallel to # each remote server #AUTOTHROTTLE_TARGET_CONCURRENCY = 1.0 # Enable showing throttling stats for every response received: #AUTOTHROTTLE_DEBUG = False # Enable and configure HTTP caching (disabled by default) # See https://docs.scrapy.org/en/latest/topics/downloader-middleware.html#httpcache-middleware-settings #HTTPCACHE_ENABLED = True #HTTPCACHE_EXPIRATION_SECS = 0 #HTTPCACHE_DIR = 'httpcache' #HTTPCACHE_IGNORE_HTTP_CODES = [] #HTTPCACHE_STORAGE = 'scrapy.extensions.httpcache.FilesystemCacheStorage' ``` ##run.py: ``` # -*- coding: utf-8 -*- from scrapy import cmdline cmdline.execute("scrapy crawl ks".split()) ``` ##这个是运行出来的结果: ``` PS D:\scrapy_project\kesou> scrapy crawl ks 2019-11-27 00:14:17 [scrapy.utils.log] INFO: Scrapy 1.7.3 started (bot: kesou) 2019-11-27 00:14:17 [scrapy.utils.log] INFO: Versions: lxml 4.3.2.0, libxml2 2.9.9, cssselect 1.1.0, parsel 1.5.2, w3lib 1.21.0, Twis.7.0, Python 3.7.3 (default, Mar 27 2019, 17:13:21) [MSC v.1915 64 bit (AMD64)], pyOpenSSL 19.0.0 (OpenSSL 1.1.1b 26 Feb 2019), cryphy 2.6.1, Platform Windows-10-10.0.18362-SP0 2019-11-27 00:14:17 [scrapy.crawler] INFO: Overridden settings: {'BOT_NAME': 'kesou', 'COOKIES_ENABLED': False, 'NEWSPIDER_MODULE': 'spiders', 'SPIDER_MODULES': ['kesou.spiders'], 'USER_AGENT': 'Mozilla/5.0 (Windows NT 10.0; WOW64; rv:67.0) Gecko/20100101 Firefox/67 2019-11-27 00:14:17 [scrapy.extensions.telnet] INFO: Telnet Password: 051629c46f34abdf 2019-11-27 00:14:17 [scrapy.middleware] INFO: Enabled extensions: ['scrapy.extensions.corestats.CoreStats', 'scrapy.extensions.telnet.TelnetConsole', 'scrapy.extensions.logstats.LogStats'] 2019-11-27 00:14:19 [scrapy.middleware] INFO: Enabled downloader middlewares: ['scrapy.downloadermiddlewares.httpauth.HttpAuthMiddleware', 'scrapy.downloadermiddlewares.downloadtimeout.DownloadTimeoutMiddleware', 'scrapy.downloadermiddlewares.defaultheaders.DefaultHeadersMiddleware', 'scrapy.downloadermiddlewares.useragent.UserAgentMiddleware', 'scrapy.downloadermiddlewares.retry.RetryMiddleware', 'scrapy.downloadermiddlewares.redirect.MetaRefreshMiddleware', 'scrapy.downloadermiddlewares.httpcompression.HttpCompressionMiddleware', 'scrapy.downloadermiddlewares.redirect.RedirectMiddleware', 'scrapy.downloadermiddlewares.httpproxy.HttpProxyMiddleware', 'scrapy.downloadermiddlewares.stats.DownloaderStats'] 2019-11-27 00:14:19 [scrapy.middleware] INFO: Enabled spider middlewares: ['scrapy.spidermiddlewares.httperror.HttpErrorMiddleware', 'scrapy.spidermiddlewares.offsite.OffsiteMiddleware', 'scrapy.spidermiddlewares.referer.RefererMiddleware', 'scrapy.spidermiddlewares.urllength.UrlLengthMiddleware', 'scrapy.spidermiddlewares.depth.DepthMiddleware'] 2019-11-27 00:14:19 [scrapy.middleware] INFO: Enabled item pipelines: ['kesou.pipelines.KesouPipeline'] 2019-11-27 00:14:19 [scrapy.core.engine] INFO: Spider opened 2019-11-27 00:14:19 [scrapy.extensions.logstats] INFO: Crawled 0 pages (at 0 pages/min), scraped 0 items (at 0 items/min) 2019-11-27 00:14:19 [scrapy.extensions.telnet] INFO: Telnet console listening on 127.0.0.1:6023 2019-11-27 00:14:20 [scrapy.core.engine] DEBUG: Crawled (200) <GET https://www.baidu.com/s?wd=%E5%92%B3%E5%97%BD&pn=0&oq=%E5%92%B3%E5&ct=2097152&ie=utf-8&si=muzhi.baidu.com&rsv_pq=980e0c55000e2402&rsv_t=ed3f0i5yeefxTMskgzim00cCUyVujMRnw0Vs4o1%2Bo%2Bohf9rFXJvk%2FSYX% (referer: None) 2019-11-27 00:14:20 [scrapy.core.scraper] ERROR: Spider error processing <GET https://www.baidu.com/s?wd=%E5%92%B3%E5%97%BD&pn=0&oq=%B3%E5%97%BD&ct=2097152&ie=utf-8&si=muzhi.baidu.com&rsv_pq=980e0c55000e2402&rsv_t=ed3f0i5yeefxTMskgzim00cCUyVujMRnw0Vs4o1%2Bo%2Bohf9rFFSYX%2B1M> (referer: None) Traceback (most recent call last): File "d:\anaconda3\lib\site-packages\scrapy\utils\defer.py", line 102, in iter_errback yield next(it) File "d:\anaconda3\lib\site-packages\scrapy\core\spidermw.py", line 84, in evaluate_iterable for r in iterable: File "d:\anaconda3\lib\site-packages\scrapy\spidermiddlewares\offsite.py", line 29, in process_spider_output for x in result: File "d:\anaconda3\lib\site-packages\scrapy\core\spidermw.py", line 84, in evaluate_iterable for r in iterable: File "d:\anaconda3\lib\site-packages\scrapy\spidermiddlewares\referer.py", line 339, in <genexpr> return (_set_referer(r) for r in result or ()) File "d:\anaconda3\lib\site-packages\scrapy\core\spidermw.py", line 84, in evaluate_iterable for r in iterable: File "d:\anaconda3\lib\site-packages\scrapy\spidermiddlewares\urllength.py", line 37, in <genexpr> return (r for r in result or () if _filter(r)) File "d:\anaconda3\lib\site-packages\scrapy\core\spidermw.py", line 84, in evaluate_iterable for r in iterable: File "d:\anaconda3\lib\site-packages\scrapy\spidermiddlewares\depth.py", line 58, in <genexpr> return (r for r in result or () if _filter(r)) File "D:\scrapy_project\kesou\kesou\spiders\ks.py", line 19, in parse item['url'] = url File "d:\anaconda3\lib\site-packages\scrapy\item.py", line 73, in __setitem__ (self.__class__.__name__, key)) KeyError: 'KesouItem does not support field: url' 2019-11-27 00:14:20 [scrapy.core.engine] INFO: Closing spider (finished) 2019-11-27 00:14:20 [scrapy.statscollectors] INFO: Dumping Scrapy stats: {'downloader/request_bytes': 438, 'downloader/request_count': 1, 'downloader/request_method_count/GET': 1, 'downloader/response_bytes': 68368, 'downloader/response_count': 1, 'downloader/response_status_count/200': 1, 'elapsed_time_seconds': 0.992207, 'finish_reason': 'finished', 'finish_time': datetime.datetime(2019, 11, 26, 16, 14, 20, 855804), 'log_count/DEBUG': 1, 2019-11-27 00:14:20 [scrapy.statscollectors] INFO: Dumping Scrapy stats: {'downloader/request_bytes': 438, 'downloader/request_count': 1, 'downloader/request_method_count/GET': 1, 'downloader/response_bytes': 68368, 'downloader/response_count': 1, 'downloader/response_status_count/200': 1, 'elapsed_time_seconds': 0.992207, 'finish_reason': 'finished', 'finish_time': datetime.datetime(2019, 11, 26, 16, 14, 20, 855804), 'log_count/DEBUG': 1, 'log_count/ERROR': 1, 'log_count/INFO': 10, 'response_received_count': 1, 'scheduler/dequeued': 1, 'scheduler/dequeued/memory': 1, 'scheduler/enqueued': 1, 'scheduler/enqueued/memory': 1, 'spider_exceptions/KeyError': 1, 'start_time': datetime.datetime(2019, 11, 26, 16, 14, 19, 863597)} 2019-11-27 00:14:21 [scrapy.core.engine] INFO: Spider closed (finished) ```
Spark使用 saveAsNewAPIHadoopFile 通过Bulkload写Hbase错误
异常: Caused by: java.lang.ClassCastException: org.apache.hadoop.hbase.client.Put cannot be cast to org.apache.hadoop.hbase.Cell at org.apache.hadoop.hbase.mapreduce.HFileOutputFormat2$1.write(HFileOutputFormat2.java:152) at org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsNewAPIHadoopDataset$1$$anonfun$12$$anonfun$apply$4.apply$mcV$sp(PairRDDFunctions.scala:1125) at org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsNewAPIHadoopDataset$1$$anonfun$12$$anonfun$apply$4.apply(PairRDDFunctions.scala:1123) at org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsNewAPIHadoopDataset$1$$anonfun$12$$anonfun$apply$4.apply(PairRDDFunctions.scala:1123) at org.apache.spark.util.Utils$.tryWithSafeFinallyAndFailureCallbacks(Utils.scala:1341) at org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsNewAPIHadoopDataset$1$$anonfun$12.apply(PairRDDFunctions.scala:1131) at org.apache.spark.rdd.PairRDDFunctions$$anonfun$saveAsNewAPIHadoopDataset$1$$anonfun$12.apply(PairRDDFunctions.scala:1102) at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:87) at org.apache.spark.scheduler.Task.run(Task.scala:99) at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:282) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:748) 核心代码: Configuration conf = HBaseConfiguration.create(); conf.set(TableOutputFormat.OUTPUT_TABLE, "wwtest"); conf.set(ConfigUtils.getHbaseZK()._1(), ConfigUtils.getHbaseZK()._2()); conf.set(ConfigUtils.getHbaseZKPort()._1(), ConfigUtils.getHbaseZKPort()._2()); Job job = Job.getInstance(); job.setMapOutputKeyClass(ImmutableBytesWritable.class); job.setMapOutputValueClass(Put.class); job.setOutputFormatClass(HFileOutputFormat2.class); Connection conn = ConnectionFactory.createConnection(conf); TableName tableName = TableName.valueOf("wwtest"); HRegionLocator regionLocator = new HRegionLocator(tableName, (ClusterConnection) conn); Table realTable = ((ClusterConnection) conn).getTable(tableName); HFileOutputFormat2.configureIncrementalLoad(job, realTable, regionLocator); SparkSession spark = SparkUtils.initSparkSessionESConf(HbaseBulkLoad.class.getName(), "local[3]"); JavaSparkContext javaSparkContext = new JavaSparkContext(spark.sparkContext()); ArrayList<Integer> integers = new ArrayList<>(); integers.add(1); integers.add(2); integers.add(3); JavaRDD<Integer> parallelize = javaSparkContext.parallelize(integers); JavaPairRDD<ImmutableBytesWritable, Put> mapToPair = parallelize.mapToPair(new PairFunction<Integer, ImmutableBytesWritable, Put>() { @Override public Tuple2<ImmutableBytesWritable, Put> call(Integer integer) throws Exception { /*KeyValue kv = new KeyValue(Bytes.toBytes(integer), "cf".getBytes(), "c1".getBytes(), Bytes.toBytes(integer));*/ Put put = new Put(Bytes.toBytes(integer)); /*put.addColumn("info".getBytes(), "c1".getBytes(), Bytes.toBytes(integer));*/ put.add(new KeyValue(Bytes.toBytes(integer), "cf".getBytes(), "c1".getBytes(), Bytes.toBytes(integer))); /*put.addImmutable("info".getBytes(), "c1".getBytes(), Bytes.toBytes(integer));*/ return new Tuple2<>(new ImmutableBytesWritable(Bytes.toBytes(integer)), put); } }).sortByKey(); mapToPair.saveAsNewAPIHadoopFile("/tmp/wwtest", ImmutableBytesWritable.class, Put.class, HFileOutputFormat2.class, job.getConfiguration());
爬虫福利二 之 妹子图网MM批量下载
爬虫福利一:27报网MM批量下载    点击 看了本文,相信大家对爬虫一定会产生强烈的兴趣,激励自己去学习爬虫,在这里提前祝:大家学有所成! 目标网站:妹子图网 环境:Python3.x 相关第三方模块:requests、beautifulsoup4 Re:各位在测试时只需要将代码里的变量 path 指定为你当前系统要保存的路径,使用 python xxx.py 或IDE运行即可。
Java学习的正确打开方式
在博主认为,对于入门级学习java的最佳学习方法莫过于视频+博客+书籍+总结,前三者博主将淋漓尽致地挥毫于这篇博客文章中,至于总结在于个人,实际上越到后面你会发现学习的最好方式就是阅读参考官方文档其次就是国内的书籍,博客次之,这又是一个层次了,这里暂时不提后面再谈。博主将为各位入门java保驾护航,各位只管冲鸭!!!上天是公平的,只要不辜负时间,时间自然不会辜负你。 何谓学习?博主所理解的学习,它
程序员必须掌握的核心算法有哪些?
由于我之前一直强调数据结构以及算法学习的重要性,所以就有一些读者经常问我,数据结构与算法应该要学习到哪个程度呢?,说实话,这个问题我不知道要怎么回答你,主要取决于你想学习到哪些程度,不过针对这个问题,我稍微总结一下我学过的算法知识点,以及我觉得值得学习的算法。这些算法与数据结构的学习大多数是零散的,并没有一本把他们全部覆盖的书籍。下面是我觉得值得学习的一些算法以及数据结构,当然,我也会整理一些看过
大学四年自学走来,这些私藏的实用工具/学习网站我贡献出来了
大学四年,看课本是不可能一直看课本的了,对于学习,特别是自学,善于搜索网上的一些资源来辅助,还是非常有必要的,下面我就把这几年私藏的各种资源,网站贡献出来给你们。主要有:电子书搜索、实用工具、在线视频学习网站、非视频学习网站、软件下载、面试/求职必备网站。 注意:文中提到的所有资源,文末我都给你整理好了,你们只管拿去,如果觉得不错,转发、分享就是最大的支持了。 一、PDF搜索网站推荐 对于大部
linux系列之常用运维命令整理笔录
本博客记录工作中需要的linux运维命令,大学时候开始接触linux,会一些基本操作,可是都没有整理起来,加上是做开发,不做运维,有些命令忘记了,所以现在整理成博客,当然vi,文件操作等就不介绍了,慢慢积累一些其它拓展的命令,博客不定时更新 顺便拉下票,我在参加csdn博客之星竞选,欢迎投票支持,每个QQ或者微信每天都可以投5票,扫二维码即可,http://m234140.nofollow.ax.
比特币原理详解
一、什么是比特币 比特币是一种电子货币,是一种基于密码学的货币,在2008年11月1日由中本聪发表比特币白皮书,文中提出了一种去中心化的电子记账系统,我们平时的电子现金是银行来记账,因为银行的背后是国家信用。去中心化电子记账系统是参与者共同记账。比特币可以防止主权危机、信用风险。其好处不多做赘述,这一层面介绍的文章很多,本文主要从更深层的技术原理角度进行介绍。 二、问题引入  假设现有4个人
程序员接私活怎样防止做完了不给钱?
首先跟大家说明一点,我们做 IT 类的外包开发,是非标品开发,所以很有可能在开发过程中会有这样那样的需求修改,而这种需求修改很容易造成扯皮,进而影响到费用支付,甚至出现做完了项目收不到钱的情况。 那么,怎么保证自己的薪酬安全呢? 我们在开工前,一定要做好一些证据方面的准备(也就是“讨薪”的理论依据),这其中最重要的就是需求文档和验收标准。一定要让需求方提供这两个文档资料作为开发的基础。之后开发
网页实现一个简单的音乐播放器(大佬别看。(⊙﹏⊙))
今天闲着无事,就想写点东西。然后听了下歌,就打算写个播放器。 于是乎用h5 audio的加上js简单的播放器完工了。 欢迎 改进 留言。 演示地点跳到演示地点 html代码如下`&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;title&gt;music&lt;/title&gt; &lt;meta charset="utf-8"&gt
Python十大装B语法
Python 是一种代表简单思想的语言,其语法相对简单,很容易上手。不过,如果就此小视 Python 语法的精妙和深邃,那就大错特错了。本文精心筛选了最能展现 Python 语法之精妙的十个知识点,并附上详细的实例代码。如能在实战中融会贯通、灵活使用,必将使代码更为精炼、高效,同时也会极大提升代码B格,使之看上去更老练,读起来更优雅。 1. for - else 什么?不是 if 和 else 才
数据库优化 - SQL优化
前面一篇文章从实例的角度进行数据库优化,通过配置一些参数让数据库性能达到最优。但是一些“不好”的SQL也会导致数据库查询变慢,影响业务流程。本文从SQL角度进行数据库优化,提升SQL运行效率。 判断问题SQL 判断SQL是否有问题时可以通过两个表象进行判断: 系统级别表象 CPU消耗严重 IO等待严重 页面响应时间过长
2019年11月中国大陆编程语言排行榜
2019年11月2日,我统计了某招聘网站,获得有效程序员招聘数据9万条。针对招聘信息,提取编程语言关键字,并统计如下: 编程语言比例 rank pl_ percentage 1 java 33.62% 2 c/c++ 16.42% 3 c_sharp 12.82% 4 javascript 12.31% 5 python 7.93% 6 go 7.25% 7
通俗易懂地给女朋友讲:线程池的内部原理
餐厅的约会 餐盘在灯光的照耀下格外晶莹洁白,女朋友拿起红酒杯轻轻地抿了一小口,对我说:“经常听你说线程池,到底线程池到底是个什么原理?”我楞了一下,心里想女朋友今天是怎么了,怎么突然问出这么专业的问题,但做为一个专业人士在女朋友面前也不能露怯啊,想了一下便说:“我先给你讲讲我前同事老王的故事吧!” 大龄程序员老王 老王是一个已经北漂十多年的程序员,岁数大了,加班加不动了,升迁也无望,于是拿着手里
经典算法(5)杨辉三角
写在前面: 我是 扬帆向海,这个昵称来源于我的名字以及女朋友的名字。我热爱技术、热爱开源、热爱编程。技术是开源的、知识是共享的。 这博客是对自己学习的一点点总结及记录,如果您对 Java、算法 感兴趣,可以关注我的动态,我们一起学习。 用知识改变命运,让我们的家人过上更好的生活。 目录一、杨辉三角的介绍二、杨辉三角的算法思想三、代码实现1.第一种写法2.第二种写法 一、杨辉三角的介绍 百度
腾讯算法面试题:64匹马8个跑道需要多少轮才能选出最快的四匹?
昨天,有网友私信我,说去阿里面试,彻底的被打击到了。问了为什么网上大量使用ThreadLocal的源码都会加上private static?他被难住了,因为他从来都没有考虑过这个问题。无独有偶,今天笔者又发现有网友吐槽了一道腾讯的面试题,我们一起来看看。 腾讯算法面试题:64匹马8个跑道需要多少轮才能选出最快的四匹? 在互联网职场论坛,一名程序员发帖求助到。二面腾讯,其中一个算法题:64匹
面试官:你连RESTful都不知道我怎么敢要你?
面试官:了解RESTful吗? 我:听说过。 面试官:那什么是RESTful? 我:就是用起来很规范,挺好的 面试官:是RESTful挺好的,还是自我感觉挺好的 我:都挺好的。 面试官:… 把门关上。 我:… 要干嘛?先关上再说。 面试官:我说出去把门关上。 我:what ?,夺门而去 文章目录01 前言02 RESTful的来源03 RESTful6大原则1. C-S架构2. 无状态3.统一的接
为啥国人偏爱Mybatis,而老外喜欢Hibernate/JPA呢?
关于SQL和ORM的争论,永远都不会终止,我也一直在思考这个问题。昨天又跟群里的小伙伴进行了一番讨论,感触还是有一些,于是就有了今天这篇文。 声明:本文不会下关于Mybatis和JPA两个持久层框架哪个更好这样的结论。只是摆事实,讲道理,所以,请各位看官勿喷。 一、事件起因 关于Mybatis和JPA孰优孰劣的问题,争论已经很多年了。一直也没有结论,毕竟每个人的喜好和习惯是大不相同的。我也看
SQL-小白最佳入门sql查询一
一 说明 如果是初学者,建议去网上寻找安装Mysql的文章安装,以及使用navicat连接数据库,以后的示例基本是使用mysql数据库管理系统; 二 准备前提 需要建立一张学生表,列分别是id,名称,年龄,学生信息;本示例中文章篇幅原因SQL注释略; 建表语句: CREATE TABLE `student` ( `id` int(11) NOT NULL AUTO_INCREMENT, `
项目中的if else太多了,该怎么重构?
介绍 最近跟着公司的大佬开发了一款IM系统,类似QQ和微信哈,就是聊天软件。我们有一部分业务逻辑是这样的 if (msgType = "文本") { // dosomething } else if(msgType = "图片") { // doshomething } else if(msgType = "视频") { // doshomething } else { // dosho
【图解经典算法题】如何用一行代码解决约瑟夫环问题
约瑟夫环问题算是很经典的题了,估计大家都听说过,然后我就在一次笔试中遇到了,下面我就用 3 种方法来详细讲解一下这道题,最后一种方法学了之后保证让你可以让你装逼。 问题描述:编号为 1-N 的 N 个士兵围坐在一起形成一个圆圈,从编号为 1 的士兵开始依次报数(1,2,3…这样依次报),数到 m 的 士兵会被杀死出列,之后的士兵再从 1 开始报数。直到最后剩下一士兵,求这个士兵的编号。 1、方
致 Python 初学者
文章目录1. 前言2. 明确学习目标,不急于求成,不好高骛远3. 在开始学习 Python 之前,你需要做一些准备2.1 Python 的各种发行版2.2 安装 Python2.3 选择一款趁手的开发工具3. 习惯使用IDLE,这是学习python最好的方式4. 严格遵从编码规范5. 代码的运行、调试5. 模块管理5.1 同时安装了py2/py35.2 使用Anaconda,或者通过IDE来安装模
“狗屁不通文章生成器”登顶GitHub热榜,分分钟写出万字形式主义大作
一、垃圾文字生成器介绍 最近在浏览GitHub的时候,发现了这样一个骨骼清奇的雷人项目,而且热度还特别高。 项目中文名:狗屁不通文章生成器 项目英文名:BullshitGenerator 根据作者的介绍,他是偶尔需要一些中文文字用于GUI开发时测试文本渲染,因此开发了这个废话生成器。但由于生成的废话实在是太过富于哲理,所以最近已经被小伙伴们给玩坏了。 他的文风可能是这样的: 你发现,
程序员:我终于知道post和get的区别
IT界知名的程序员曾说:对于那些月薪三万以下,自称IT工程师的码农们,其实我们从来没有把他们归为我们IT工程师的队伍。他们虽然总是以IT工程师自居,但只是他们一厢情愿罢了。 此话一出,不知激起了多少(码农)程序员的愤怒,却又无可奈何,于是码农问程序员。 码农:你知道get和post请求到底有什么区别? 程序员:你看这篇就知道了。 码农:你月薪三万了? 程序员:嗯。 码农:你是怎么做到的? 程序员:
《程序人生》系列-这个程序员只用了20行代码就拿了冠军
你知道的越多,你不知道的越多 点赞再看,养成习惯GitHub上已经开源https://github.com/JavaFamily,有一线大厂面试点脑图,欢迎Star和完善 前言 这一期不算《吊打面试官》系列的,所有没前言我直接开始。 絮叨 本来应该是没有这期的,看过我上期的小伙伴应该是知道的嘛,双十一比较忙嘛,要值班又要去帮忙拍摄年会的视频素材,还得搞个程序员一天的Vlog,还要写BU
加快推动区块链技术和产业创新发展,2019可信区块链峰会在京召开
      11月8日,由中国信息通信研究院、中国通信标准化协会、中国互联网协会、可信区块链推进计划联合主办,科技行者协办的2019可信区块链峰会将在北京悠唐皇冠假日酒店开幕。   区块链技术被认为是继蒸汽机、电力、互联网之后,下一代颠覆性的核心技术。如果说蒸汽机释放了人类的生产力,电力解决了人类基本的生活需求,互联网彻底改变了信息传递的方式,区块链作为构造信任的技术有重要的价值。   1
程序员把地府后台管理系统做出来了,还有3.0版本!12月7号最新消息:已在开发中有github地址
第一幕:缘起 听说阎王爷要做个生死簿后台管理系统,我们派去了一个程序员…… 996程序员做的梦: 第一场:团队招募 为了应对地府管理危机,阎王打算找“人”开发一套地府后台管理系统,于是就在地府总经办群中发了项目需求。 话说还是中国电信的信号好,地府都是满格,哈哈!!! 经常会有外行朋友问:看某网站做的不错,功能也简单,你帮忙做一下? 而这次,面对这样的需求,这个程序员
网易云6亿用户音乐推荐算法
网易云音乐是音乐爱好者的集聚地,云音乐推荐系统致力于通过 AI 算法的落地,实现用户千人千面的个性化推荐,为用户带来不一样的听歌体验。 本次分享重点介绍 AI 算法在音乐推荐中的应用实践,以及在算法落地过程中遇到的挑战和解决方案。 将从如下两个部分展开: AI 算法在音乐推荐中的应用 音乐场景下的 AI 思考 从 2013 年 4 月正式上线至今,网易云音乐平台持续提供着:乐屏社区、UGC
【技巧总结】位运算装逼指南
位算法的效率有多快我就不说,不信你可以去用 10 亿个数据模拟一下,今天给大家讲一讲位运算的一些经典例子。不过,最重要的不是看懂了这些例子就好,而是要在以后多去运用位运算这些技巧,当然,采用位运算,也是可以装逼的,不信,你往下看。我会从最简单的讲起,一道比一道难度递增,不过居然是讲技巧,那么也不会太难,相信你分分钟看懂。 判断奇偶数 判断一个数是基于还是偶数,相信很多人都做过,一般的做法的代码如下
日均350000亿接入量,腾讯TubeMQ性能超过Kafka
整理 | 夕颜出品 | AI科技大本营(ID:rgznai100) 【导读】近日,腾讯开源动作不断,相继开源了分布式消息中间件TubeMQ,基于最主流的 OpenJDK8开发的
8年经验面试官详解 Java 面试秘诀
    作者 | 胡书敏 责编 | 刘静 出品 | CSDN(ID:CSDNnews) 本人目前在一家知名外企担任架构师,而且最近八年来,在多家外企和互联网公司担任Java技术面试官,前后累计面试了有两三百位候选人。在本文里,就将结合本人的面试经验,针对Java初学者、Java初级开发和Java开发,给出若干准备简历和准备面试的建议。   Java程序员准备和投递简历的实
面试官如何考察你的思维方式?
1.两种思维方式在求职面试中,经常会考察这种问题:北京有多少量特斯拉汽车? 某胡同口的煎饼摊一年能卖出多少个煎饼? 深圳有多少个产品经理? 一辆公交车里能装下多少个乒乓球? 一
相关热词 c# 引用mysql c#动态加载非托管dll c# 两个表数据同步 c# 返回浮点json c# imap 链接状态 c# 漂亮字 c# 上取整 除法 c#substring c#中延时关闭 c#线段拖拉
立即提问