Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

编译yporter-boot 启动时报错,怎么解决 #17

Open
shyding opened this issue May 26, 2019 · 1 comment
Open

编译yporter-boot 启动时报错,怎么解决 #17

shyding opened this issue May 26, 2019 · 1 comment

Comments

@shyding
Copy link

shyding commented May 26, 2019

ava.lang.Error: Unresolved compilation problems:
The import org.apache.kafka cannot be ava.lang.Error: Unresolved compilation problems:
The import org.apache.kafka cannot be resolved
The import org.apache.kafka cannot be resolved
The import org.apache.kafka cannot be resolved
The import org.apache.kafka cannot be resolved
The import org.apache.kafka cannot be resolved
The import org.apache.kafka cannot be resolved
The import org.apache.kafka cannot be resolved
Producer cannot be resolved to a type
PartitionInfo cannot be resolved to a type
ProducerConfig cannot be resolved to a variable
ProducerConfig cannot be resolved to a variable
ProducerConfig cannot be resolved to a variable
StringSerializer cannot be resolved to a type
ProducerConfig cannot be resolved to a variable
StringSerializer cannot be resolved to a type
ProducerConfig cannot be resolved to a variable
ProducerConfig cannot be resolved to a variable
Producer cannot be resolved to a type
KafkaProducer cannot be resolved to a type
PartitionInfo cannot be resolved to a type
Producer cannot be resolved to a type
Producer cannot be resolved to a type
Producer cannot be resolved to a type
Producer cannot be resolved to a type
Producer cannot be resolved to a type
ProducerRecord cannot be resolved to a type
ProducerRecord cannot be resolved to a type
ProducerRecord cannot be resolved to a type
ProducerRecord cannot be resolved to a type
ProducerRecord cannot be resolved to a type
ProducerRecord cannot be resolved to a type
ProducerRecord cannot be resolved to a type
ProducerRecord cannot be resolved to a type
ProducerRecord cannot be resolved to a type
Producer cannot be resolved to a type
RecordMetadata cannot be resolved to a type
ProducerRecord cannot be resolved to a type
Producer cannot be resolved to a type
RecordMetadata cannot be resolved to a type
Producer cannot be resolved to a type
Producer cannot be resolved to a type
PartitionInfo cannot be resolved to a type
PartitionInfo cannot be resolved to a type

at cn.vbill.middleware.porter.common.client.impl.KafkaProduceClient.<init>(KafkaProduceClient.java:30)
at cn.vbill.middleware.porter.common.client.AbstractClient.getClient(AbstractClient.java:165)
at cn.vbill.middleware.porter.common.cluster.impl.zookeeper.ZookeeperClusterProvider.initClient(ZookeeperClusterProvider.java:73)
at cn.vbill.middleware.porter.common.cluster.impl.AbstractClusterProvider.initialize(AbstractClusterProvider.java:237)
at cn.vbill.middleware.porter.common.cluster.impl.AbstractClusterProvider.start(AbstractClusterProvider.java:205)
at cn.vbill.middleware.porter.common.cluster.ClusterProviderProxy.initialize(ClusterProviderProxy.java:56)
at cn.vbill.middleware.porter.boot.NodeBootApplication.main(NodeBootApplication.java:112)

2019-05-26 14:32:00.216 INFO 4236 --- [Thread-4] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor'resolved
The import org.apache.kafka cannot be resolved
The import org.apache.kafka cannot be resolved
The import org.apache.kafka cannot be resolved
The import org.apache.kafka cannot be resolved
The import org.apache.kafka cannot be resolved
The import org.apache.kafka cannot be resolved
Producer cannot be resolved to a type
PartitionInfo cannot be resolved to a type
ProducerConfig cannot be resolved to a variable
ProducerConfig cannot be resolved to a variable
ProducerConfig cannot be resolved to a variable
StringSerializer cannot be resolved to a type
ProducerConfig cannot be resolved to a variable
StringSerializer cannot be resolved to a type
ProducerConfig cannot be resolved to a variable
ProducerConfig cannot be resolved to a variable
Producer cannot be resolved to a type
KafkaProducer cannot be resolved to a type
PartitionInfo cannot be resolved to a type
Producer cannot be resolved to a type
Producer cannot be resolved to a type
Producer cannot be resolved to a type
Producer cannot be resolved to a type
Producer cannot be resolved to a type
ProducerRecord cannot be resolved to a type
ProducerRecord cannot be resolved to a type
ProducerRecord cannot be resolved to a type
ProducerRecord cannot be resolved to a type
ProducerRecord cannot be resolved to a type
ProducerRecord cannot be resolved to a type
ProducerRecord cannot be resolved to a type
ProducerRecord cannot be resolved to a type
ProducerRecord cannot be resolved to a type
Producer cannot be resolved to a type
RecordMetadata cannot be resolved to a type
ProducerRecord cannot be resolved to a type
Producer cannot be resolved to a type
RecordMetadata cannot be resolved to a type
Producer cannot be resolved to a type
Producer cannot be resolved to a type
PartitionInfo cannot be resolved to a type
PartitionInfo cannot be resolved to a type

at cn.vbill.middleware.porter.common.client.impl.KafkaProduceClient.<init>(KafkaProduceClient.java:30)
at cn.vbill.middleware.porter.common.client.AbstractClient.getClient(AbstractClient.java:165)
at cn.vbill.middleware.porter.common.cluster.impl.zookeeper.ZookeeperClusterProvider.initClient(ZookeeperClusterProvider.java:73)
at cn.vbill.middleware.porter.common.cluster.impl.AbstractClusterProvider.initialize(AbstractClusterProvider.java:237)
at cn.vbill.middleware.porter.common.cluster.impl.AbstractClusterProvider.start(AbstractClusterProvider.java:205)
at cn.vbill.middleware.porter.common.cluster.ClusterProviderProxy.initialize(ClusterProviderProxy.java:56)
at cn.vbill.middleware.porter.boot.NodeBootApplication.main(NodeBootApplication.java:112)

2019-05-26 14:32:00.216 INFO 4236 --- [Thread-4] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor'

@zhangkewei
Copy link
Collaborator

检查你的IDE导入项目后的模块依赖是否正常

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants