dubbo entry - hands-on experience summary

Creative Commons License Copyright: Attribution, allow others to create paper-based, and must distribute paper (based on the original license agreement with the same license Creative Commons )

Morning brush Mu class video, Reference: https://blog.csdn.net/qq_32768743/article/details/92390306
then began the afternoon DIY, spent eight tomato, which is 8 * 25 = 200 minutes , more than three hours before finally do it

Problems encountered

  • Father maven is not the same
    in general I use the IDEA project generated is written
    Here Insert Picture Description
    but the practice of using sub-modules of the video, like the parent can not be used
    it will be one more
    Here Insert Picture Description

  • Add rely on their own, there is always a variety of issues, and finally in the video are dependent on old before we can solve the problem
    as if I used the time to learn this stuff, it will always have this problem, spend a lot of time, are in the final all depends on the video run through of the case, delete some reliance, revision number, and finally fishes are more familiar with each dependency, but also easy to make a mistake rollback

  • maven import all kinds always does not work
    this should be one of the reasons had to switch gradle, this time encountered this problem, every maven clean look, and then the lower right corner on the import button appears, and then re-import the
    sometimes to import several times, you can really do with luck

  • Can not find a local dependence, manually update the index like
    I do not know where to configuration errors, update the index anyway, appears a button to manually point just fine

  • Can not find service
    inspection of producers and consumers are the same configuration parameters
    may not realize that the sequence of interfaces, exceptions thrown can see it

  • Port occupation
    appeared several port occupied for a good, I do not know what process did not kill

  • Forget to write notes
    dubbo the rest protocols require several jboss dependence, annotated several paths, but much longer and Spring mvc is not the same
    in the Spring MVC, forget to write@RequestBody

  • dubbo:annotation apache version does not seem to, I do not know what changed

to sum up

Every time is always dependent hangs, like abandoned pit, do not know if I have dubbo the start, out of the box
Download rely too time-consuming, I really do not know why there are so many things to the next, using a mirror can maven Ali cloud speed
dubbo as if the original use of the same by the Service Controller project in some way, to the Controller using another place, but have become more configuration
degree unfriendly welcome dubbo rest too, very much doubt that the use of

Configuration

After deleted some unwanted dependence
https://blog.csdn.net/qq_32768743/article/details/92433614

future

Continue eating behind the document, with today's practical experience, we have encountered problems behind the local fallback

Guess you like

Origin blog.csdn.net/qq_32768743/article/details/92433032